Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 220 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.149/3.149, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 69.94 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3505, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004491/0.355, allocations: 2.635 MB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002223/0.3572, allocations: 1.294 MB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.566e-05/0.3573, allocations: 7.938 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007784/0.3581, allocations: 183.2 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.3585, allocations: 163.3 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.3588, allocations: 163.7 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.3592, allocations: 275.2 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.3595, allocations: 127.7 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.3597, allocations: 119.6 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.36, allocations: 139.6 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.36, allocations: 16 kB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.3602, allocations: 135.7 kB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.69e-05/0.3603, allocations: 67.81 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.3604, allocations: 79.59 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003929/0.3608, allocations: 306.8 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.3608, allocations: 3.984 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3608, allocations: 0 / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.3609, allocations: 4 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008423/0.3617, allocations: 421.6 kB / 1.351 GB, free: 9.793 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3617, allocations: 12.03 kB / 1.351 GB, free: 9.781 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.563e-05/0.3618, allocations: 4.469 kB / 1.351 GB, free: 9.777 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.765e-05/0.3618, allocations: 50.67 kB / 1.351 GB, free: 9.719 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004913/0.3623, allocations: 68.72 kB / 1.351 GB, free: 9.652 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.3626, allocations: 186.2 kB / 1.352 GB, free: 9.445 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3626, allocations: 16.66 kB / 1.352 GB, free: 9.43 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.3627, allocations: 12.36 kB / 1.352 GB, free: 9.418 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005765/0.3632, allocations: 375.7 kB / 1.352 GB, free: 9.012 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3633, allocations: 0 / 1.352 GB, free: 9.012 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.3633, allocations: 4 kB / 1.352 GB, free: 9.008 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/0.3633, allocations: 28.27 kB / 1.352 GB, free: 8.98 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.3638, allocations: 260.6 kB / 1.352 GB, free: 8.727 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.3654, allocations: 1.145 MB / 1.353 GB, free: 7.516 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.3659, allocations: 249 kB / 1.354 GB, free: 7.254 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.3661, allocations: 119.5 kB / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3661, allocations: 4 kB / 1.354 GB, free: 7.129 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.3661, allocations: 34.5 kB / 1.354 GB, free: 7.086 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.3661, allocations: 4 kB / 1.354 GB, free: 7.082 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0007667/0.3669, allocations: 341.3 kB / 1.354 GB, free: 6.742 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.367, allocations: 77.11 kB / 1.354 GB, free: 6.648 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.3671, allocations: 178.8 kB / 1.354 GB, free: 6.461 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.3672, allocations: 29.64 kB / 1.354 GB, free: 6.426 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.3673, allocations: 144.2 kB / 1.354 GB, free: 6.277 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.172e-05/0.3673, allocations: 55.53 kB / 1.355 GB, free: 6.223 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-05/0.3674, allocations: 53.78 kB / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3676, allocations: 330.8 kB / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.3678, allocations: 116.8 kB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.3681, allocations: 194.4 kB / 1.355 GB, free: 5.492 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/0.3686, allocations: 301.3 kB / 1.355 GB, free: 5.176 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3686, allocations: 0 / 1.355 GB, free: 5.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005951/0.3692, allocations: 321.2 kB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3692, allocations: 4.219 kB / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3692, allocations: 8 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3692, allocations: 0 / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.3695, allocations: 55.89 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3695, allocations: 7.984 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.3697, allocations: 39.73 kB / 1.356 GB, free: 4.742 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.3698, allocations: 11.98 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002786/0.37, allocations: 204 kB / 1.356 GB, free: 4.527 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002445/0.3703, allocations: 176.6 kB / 1.356 GB, free: 4.324 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004251/0.3707, allocations: 260.9 kB / 1.356 GB, free: 4.047 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.3707, allocations: 4 kB / 1.356 GB, free: 4.043 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005155/0.3712, allocations: 293.2 kB / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.3712, allocations: 4 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3712, allocations: 4 kB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-06/0.3712, allocations: 0 / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.3715, allocations: 55.89 kB / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.3715, allocations: 0 / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.3717, allocations: 36.08 kB / 1.357 GB, free: 3.652 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.3717, allocations: 8 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.3718, allocations: 196.1 kB / 1.357 GB, free: 3.445 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.3719, allocations: 15.91 kB / 1.357 GB, free: 3.43 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005328/0.3724, allocations: 266.9 kB / 1.357 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3724, allocations: 4 kB / 1.357 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3724, allocations: 0 / 1.357 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3724, allocations: 3.938 kB / 1.357 GB, free: 3.148 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.3734, allocations: 0.6411 MB / 1.358 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3734, allocations: 0 / 1.358 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.3737, allocations: 47.89 kB / 1.358 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/0.3737, allocations: 7.938 kB / 1.358 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.3737, allocations: 4 kB / 1.358 GB, free: 2.387 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3737, allocations: 7.938 kB / 1.358 GB, free: 2.379 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3737, allocations: 0 / 1.358 GB, free: 2.379 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/0.3743, allocations: 451.9 kB / 1.358 GB, free: 1.91 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.84e-05/0.3744, allocations: 43.75 kB / 1.359 GB, free: 1.867 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.3744, allocations: 8 kB / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.3746, allocations: 11.98 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.3747, allocations: 19.97 kB / 1.359 GB, free: 1.828 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.3747, allocations: 4 kB / 1.359 GB, free: 1.824 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00012/0.3748, allocations: 135.2 kB / 1.359 GB, free: 1.691 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3748, allocations: 0 / 1.359 GB, free: 1.691 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004636/0.3752, allocations: 87.89 kB / 1.359 GB, free: 1.605 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008813/0.3761, allocations: 0.9765 MB / 1.36 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007572/0.3769, allocations: 366.4 kB / 1.36 GB, free: 240 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3769, allocations: 0 / 1.36 GB, free: 240 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.3771, allocations: 111.9 kB / 1.36 GB, free: 128 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.3776, allocations: 49.66 kB / 1.36 GB, free: 84 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.381, allocations: 2.479 MB / 1.363 GB, free: 13.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.3811, allocations: 135.9 kB / 1.363 GB, free: 13.3 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002302/0.3814, allocations: 77.41 kB / 1.363 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.3815, allocations: 47.42 kB / 1.363 GB, free: 13.18 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.3815, allocations: 0 / 1.363 GB, free: 13.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.407, allocations: 4.708 MB / 1.367 GB, free: 8.648 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.74, allocations: 8.125 kB / 1.367 GB, free: 8.645 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.324347013956867] Failed to read output from testmodel.py, exit status != 0: 11.9096026889747 11.936312159 11.570520146 Calling exit ...