Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.495/2.495, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.89 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7437/0.7456, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004932/0.7505, allocations: 4.268 MB / 1.276 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002149/0.7527, allocations: 1.639 MB / 1.277 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.7528, allocations: 11.22 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.7542, allocations: 0.6149 MB / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003934/0.7546, allocations: 237.5 kB / 1.278 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.755, allocations: 216 kB / 1.278 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004976/0.7555, allocations: 0.5437 MB / 1.279 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004555/0.756, allocations: 336.3 kB / 1.279 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.7562, allocations: 231.5 kB / 1.279 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003903/0.7566, allocations: 261.4 kB / 1.279 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.953e-05/0.7566, allocations: 35.06 kB / 1.28 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.7569, allocations: 168.3 kB / 1.28 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.7571, allocations: 155.3 kB / 1.28 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.7573, allocations: 192 kB / 1.28 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006059/0.7579, allocations: 0.532 MB / 1.281 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.7579, allocations: 0 / 1.281 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7579, allocations: 1.125 kB / 1.281 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.7579, allocations: 0.7031 kB / 1.281 GB, free: 2.176 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001034/0.7589, allocations: 0.6872 MB / 1.281 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.7589, allocations: 9.781 kB / 1.281 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.827e-05/0.759, allocations: 79.77 kB / 1.281 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006397/0.7596, allocations: 105.9 kB / 1.281 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.76, allocations: 312.4 kB / 1.282 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.514e-05/0.76, allocations: 60.53 kB / 1.282 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.7601, allocations: 35.81 kB / 1.282 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006924/0.7607, allocations: 0.5011 MB / 1.282 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.7608, allocations: 0 / 1.282 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.7608, allocations: 16.53 kB / 1.282 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.335e-05/0.7608, allocations: 34.61 kB / 1.282 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/0.7614, allocations: 378.5 kB / 1.283 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.7636, allocations: 2.196 MB / 1.285 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006353/0.7642, allocations: 241 kB / 1.285 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.7645, allocations: 145.8 kB / 1.285 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.7646, allocations: 6.391 kB / 1.285 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.7646, allocations: 38.91 kB / 1.285 GB, free: 14.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.412e-06/0.7646, allocations: 0 / 1.285 GB, free: 14.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.001442/0.766, allocations: 0.5619 MB / 1.286 GB, free: 14.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.7661, allocations: 53.95 kB / 1.286 GB, free: 14.42 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.7663, allocations: 235 kB / 1.286 GB, free: 14.26 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.7663, allocations: 27.11 kB / 1.286 GB, free: 14.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.7665, allocations: 213.8 kB / 1.286 GB, free: 14.05 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.587e-05/0.7665, allocations: 66.64 kB / 1.286 GB, free: 14 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-05/0.7666, allocations: 60.42 kB / 1.286 GB, free: 13.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.7668, allocations: 329.3 kB / 1.287 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.767, allocations: 92.05 kB / 1.287 GB, free: 13.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.7672, allocations: 188.5 kB / 1.287 GB, free: 13.46 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.7677, allocations: 280.9 kB / 1.287 GB, free: 13.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.7677, allocations: 5.469 kB / 1.287 GB, free: 13.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008299/0.7685, allocations: 374.9 kB / 1.288 GB, free: 13.13 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7686, allocations: 12.47 kB / 1.288 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.7686, allocations: 2.781 kB / 1.288 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004712/0.769, allocations: 111.1 kB / 1.288 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.7692, allocations: 52.67 kB / 1.288 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003352/0.7726, allocations: 3.052 MB / 1.291 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.7728, allocations: 34.42 kB / 1.291 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.7728, allocations: 13.94 kB / 1.291 GB, free: 10.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003304/0.7732, allocations: 221.2 kB / 1.291 GB, free: 10.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002789/0.7735, allocations: 182 kB / 1.291 GB, free: 9.879 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004599/0.7739, allocations: 265.6 kB / 1.291 GB, free: 9.719 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.7739, allocations: 0 / 1.291 GB, free: 9.719 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007632/0.7747, allocations: 352.5 kB / 1.292 GB, free: 9.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.7747, allocations: 6.094 kB / 1.292 GB, free: 9.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.7747, allocations: 3.062 kB / 1.292 GB, free: 9.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002849/0.775, allocations: 87.52 kB / 1.292 GB, free: 9.543 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.7752, allocations: 56.34 kB / 1.292 GB, free: 9.535 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.7772, allocations: 1.607 MB / 1.294 GB, free: 8.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.7774, allocations: 35.48 kB / 1.294 GB, free: 8.051 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.7774, allocations: 16.58 kB / 1.294 GB, free: 8.043 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.7776, allocations: 194.2 kB / 1.294 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.7776, allocations: 23.05 kB / 1.294 GB, free: 7.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.153e-05/0.7777, allocations: 30.31 kB / 1.294 GB, free: 7.812 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.7777, allocations: 2.906 kB / 1.294 GB, free: 7.812 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.7777, allocations: 4.078 kB / 1.294 GB, free: 7.809 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.7777, allocations: 9.188 kB / 1.294 GB, free: 7.801 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.779, allocations: 0.8195 MB / 1.295 GB, free: 7.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.779, allocations: 1.531 kB / 1.295 GB, free: 7.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.7791, allocations: 42.89 kB / 1.295 GB, free: 7.238 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003511/0.7795, allocations: 98.42 kB / 1.295 GB, free: 7.207 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.7795, allocations: 7.688 kB / 1.295 GB, free: 7.203 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002884/0.7824, allocations: 3.021 MB / 1.298 GB, free: 4.316 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7824, allocations: 0 / 1.298 GB, free: 4.316 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000747/0.7831, allocations: 424.9 kB / 1.298 GB, free: 4.059 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.7832, allocations: 119.9 kB / 1.298 GB, free: 3.941 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.7833, allocations: 8.453 kB / 1.298 GB, free: 3.934 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.7834, allocations: 10.48 kB / 1.298 GB, free: 3.934 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/0.7835, allocations: 17.81 kB / 1.298 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.7835, allocations: 9.531 kB / 1.298 GB, free: 3.926 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001418/0.7837, allocations: 167 kB / 1.298 GB, free: 3.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.7837, allocations: 0 / 1.298 GB, free: 3.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005498/0.7842, allocations: 175.4 kB / 1.299 GB, free: 3.77 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/0.7852, allocations: 0.9394 MB / 1.3 GB, free: 2.996 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.787, allocations: 0.7435 MB / 1.3 GB, free: 2.547 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.787, allocations: 0 / 1.3 GB, free: 2.547 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007316/0.7877, allocations: 366.5 kB / 1.301 GB, free: 2.285 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.7881, allocations: 58.83 kB / 1.301 GB, free: 2.262 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.7921, allocations: 2.853 MB / 1.303 GB, free: 308 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.7925, allocations: 0.8134 MB / 1.304 GB, free: 15.58 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00017/0.7927, allocations: 55.77 kB / 1.304 GB, free: 15.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.7929, allocations: 91.45 kB / 1.304 GB, free: 15.5 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.7929, allocations: 0 / 1.304 GB, free: 15.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03957/0.8324, allocations: 7.456 MB / 1.312 GB, free: 14.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.34, allocations: 3.25 kB / 1.312 GB, free: 14.68 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.685932058004255]