Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01645/0.01645, allocations: 104.3 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001996/0.001996, allocations: 182.3 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.116/2.116, allocations: 194.5 MB / 211.2 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.52/2.52, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007458/0.0007464, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8082/0.809, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005628/0.8146, allocations: 3.286 MB / 0.6866 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003907/0.8186, allocations: 1.619 MB / 0.6882 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003873/0.8191, allocations: 5.562 kB / 0.6882 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.8194, allocations: 59.98 kB / 0.6883 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0008045/0.8202, allocations: 163.8 kB / 0.6884 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.8212, allocations: 194.4 kB / 0.6886 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008155/0.8221, allocations: 288.1 kB / 0.6889 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000563/0.8227, allocations: 336.9 kB / 0.6892 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003269/0.823, allocations: 133.1 kB / 0.6893 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004351/0.8235, allocations: 166.5 kB / 0.6895 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.473e-05/0.8235, allocations: 16.12 kB / 0.6895 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003705/0.8239, allocations: 76.27 kB / 0.6896 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.8241, allocations: 101.8 kB / 0.6897 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.8242, allocations: 88.52 kB / 0.6898 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007108/0.8249, allocations: 359.8 kB / 0.6901 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.825, allocations: 3.938 kB / 0.6901 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.244e-06/0.825, allocations: 0 / 0.6901 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.825, allocations: 0 / 0.6901 GB, free: 12.58 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001531/0.8265, allocations: 0.6097 MB / 0.6907 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.8266, allocations: 8.781 kB / 0.6907 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/0.8268, allocations: 78.55 kB / 0.6908 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009323/0.8277, allocations: 87.5 kB / 0.6909 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/0.8284, allocations: 293.8 kB / 0.6912 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.8284, allocations: 16.39 kB / 0.6912 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.786e-05/0.8285, allocations: 31.27 kB / 0.6912 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.83, allocations: 493.8 kB / 0.6917 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.8301, allocations: 1.062 kB / 0.6917 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-05/0.8302, allocations: 11.38 kB / 0.6917 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.8303, allocations: 50.06 kB / 0.6917 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.8318, allocations: 385.9 kB / 0.6921 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003337/0.8352, allocations: 2.045 MB / 0.6941 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000983/0.8363, allocations: 230.7 kB / 0.6943 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.8363, allocations: 3.094 kB / 0.6943 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.8364, allocations: 36.56 kB / 0.6944 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 2.615e-06/0.8364, allocations: 0 / 0.6944 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.001908/0.8383, allocations: 479 kB / 0.6948 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.8384, allocations: 52.66 kB / 0.6949 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.8388, allocations: 259.9 kB / 0.6951 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.8388, allocations: 34.95 kB / 0.6952 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.839, allocations: 205 kB / 0.6953 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.8391, allocations: 67.11 kB / 0.6954 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.8391, allocations: 8 kB / 0.6954 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.8392, allocations: 336.7 kB / 0.6957 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/0.8397, allocations: 100.4 kB / 0.6958 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/0.8402, allocations: 216.2 kB / 0.696 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005206/0.8408, allocations: 134.6 kB / 0.6962 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.8408, allocations: 2.031 kB / 0.6962 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00207/0.8429, allocations: 384 kB / 0.6965 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004688/0.8434, allocations: 1.308 MB / 0.6978 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.8435, allocations: 3.312 kB / 0.6978 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004791/0.844, allocations: 37 kB / 0.6979 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/0.8449, allocations: 73.92 kB / 0.6979 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/0.8473, allocations: 1.353 MB / 0.6992 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009046/0.8483, allocations: 51.45 kB / 0.6993 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.949e-05/0.8484, allocations: 14.22 kB / 0.6993 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.8485, allocations: 3.703 kB / 0.6993 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002054/0.8505, allocations: 304.3 kB / 0.6996 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.8506, allocations: 4.391 kB / 0.6996 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.8506, allocations: 4.969 kB / 0.6996 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008077/0.8515, allocations: 78.05 kB / 0.6997 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-05/0.8515, allocations: 9.812 kB / 0.6997 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008159/0.8524, allocations: 43.94 kB / 0.6997 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/0.8525, allocations: 15.58 kB / 0.6998 GB, free: 5.129 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005477/0.8531, allocations: 248.2 kB / 0.7 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.8532, allocations: 29.33 kB / 0.7 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.8534, allocations: 32.25 kB / 0.7 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.8534, allocations: 1.562 kB / 0.7001 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/0.8534, allocations: 0 / 0.7001 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.8535, allocations: 2.922 kB / 0.7001 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.8545, allocations: 349.6 kB / 0.7004 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.8545, allocations: 1.938 kB / 0.7004 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006333/0.8552, allocations: 49.09 kB / 0.7004 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003019/0.8555, allocations: 30.44 kB / 0.7005 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.8556, allocations: 4 kB / 0.7005 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.8574, allocations: 1.328 MB / 0.7018 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.8574, allocations: 0 / 0.7018 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.8592, allocations: 386 kB / 0.7021 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.8596, allocations: 119.4 kB / 0.7022 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.951e-05/0.8597, allocations: 6.031 kB / 0.7023 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/0.8603, allocations: 21.81 kB / 0.7023 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.8604, allocations: 16.34 kB / 0.7023 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.8605, allocations: 8.125 kB / 0.7023 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004067/0.8609, allocations: 182.1 kB / 0.7025 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.62e-07/0.861, allocations: 7.938 kB / 0.7025 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00144/0.8624, allocations: 145.4 kB / 0.7026 GB, free: 2.77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002096/0.8646, allocations: 0.9145 MB / 0.7035 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002912/0.8675, allocations: 0.5138 MB / 0.704 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/0.8676, allocations: 0 / 0.704 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.8686, allocations: 233.6 kB / 0.7042 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.8697, allocations: 59.23 kB / 0.7043 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007872/0.8776, allocations: 3.812 MB / 0.708 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007355/0.8784, allocations: 0.8141 MB / 0.7088 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007469/0.8792, allocations: 73.2 kB / 0.7089 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/0.8796, allocations: 92.44 kB / 0.709 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of SimCode: time 1.823e-06/0.8796, allocations: 4 kB / 0.709 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04562/0.9252, allocations: 5.598 MB / 0.7144 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/0.9256, allocations: 213.4 kB / 0.7146 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.873/3.799, allocations: 0 / 0.7146 GB, free: 10.56 MB / 0.5417 GB