Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008855/0.0008855, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008859/0.000886, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.3 MB / 0.6653 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005655/0.0005656, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8206/0.8212, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005311/0.8266, allocations: 3.592 MB / 0.9571 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004534/0.8311, allocations: 2.442 MB / 0.9595 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005324/0.8317, allocations: 8.062 kB / 0.9595 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.8321, allocations: 55.73 kB / 0.9596 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.8334, allocations: 268.6 kB / 0.9598 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.8349, allocations: 412.7 kB / 0.9602 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.8359, allocations: 425.2 kB / 0.9606 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009821/0.8369, allocations: 0.4957 MB / 0.9611 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.8373, allocations: 189.8 kB / 0.9613 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.8377, allocations: 231 kB / 0.9615 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.014e-05/0.8378, allocations: 22.66 kB / 0.9615 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005192/0.8383, allocations: 146.7 kB / 0.9617 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.8386, allocations: 156.1 kB / 0.9618 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.8387, allocations: 107.7 kB / 0.9619 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006007/0.8393, allocations: 0.5218 MB / 0.9624 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.8393, allocations: 0 / 0.9624 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.757e-06/0.8393, allocations: 1.531 kB / 0.9624 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.8393, allocations: 3.938 kB / 0.9624 GB, free: 1.434 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001348/0.8407, allocations: 0.7172 MB / 0.9631 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.734e-05/0.8408, allocations: 9.844 kB / 0.9631 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.8409, allocations: 87.62 kB / 0.9632 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009458/0.8419, allocations: 157.4 kB / 0.9634 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/0.8424, allocations: 350.3 kB / 0.9637 GB, free: 364 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.8425, allocations: 33.39 kB / 0.9637 GB, free: 348 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.8426, allocations: 38.88 kB / 0.9638 GB, free: 336 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.844, allocations: 0.819 MB / 0.9646 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.8441, allocations: 10.69 kB / 0.9646 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-05/0.8442, allocations: 30.84 kB / 0.9646 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.8443, allocations: 69.2 kB / 0.9647 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.8457, allocations: 0.6609 MB / 0.9653 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005115/0.8509, allocations: 4.625 MB / 0.9698 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.8522, allocations: 0.4905 MB / 0.9703 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.8523, allocations: 7.891 kB / 0.9703 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.8523, allocations: 36.53 kB / 0.9704 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.796e-06/0.8523, allocations: 1.031 kB / 0.9704 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.002271/0.8546, allocations: 0.905 MB / 0.9712 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.8547, allocations: 80.39 kB / 0.9713 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.8552, allocations: 363.8 kB / 0.9717 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.8552, allocations: 30.98 kB / 0.9717 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.8555, allocations: 286.8 kB / 0.972 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.8556, allocations: 122.5 kB / 0.9721 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.8556, allocations: 14.59 kB / 0.9721 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.8558, allocations: 348.3 kB / 0.9724 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/0.8564, allocations: 255.9 kB / 0.9727 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000776/0.8571, allocations: 476 kB / 0.9731 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/0.8578, allocations: 329.4 kB / 0.9734 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.8578, allocations: 3.094 kB / 0.9734 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001643/0.8595, allocations: 0.7888 MB / 0.9742 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.001473/0.8609, allocations: 2.783 MB / 0.9769 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.861, allocations: 10.5 kB / 0.9769 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.379e-05/0.861, allocations: 12.31 kB / 0.977 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007776/0.8618, allocations: 168 kB / 0.9771 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.375e-05/0.8619, allocations: 18.19 kB / 0.9771 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/0.8624, allocations: 70.58 kB / 0.9772 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.12e-05/0.8625, allocations: 25.91 kB / 0.9772 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.8625, allocations: 4.594 kB / 0.9772 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001356/0.8639, allocations: 0.6141 MB / 0.9778 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.8639, allocations: 7.219 kB / 0.9778 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.864, allocations: 14.86 kB / 0.9779 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005953/0.8646, allocations: 148.9 kB / 0.978 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/0.8646, allocations: 14.11 kB / 0.978 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.865, allocations: 55.56 kB / 0.9781 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/0.8651, allocations: 29.08 kB / 0.9781 GB, free: 4.449 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004258/0.8655, allocations: 286.6 kB / 0.9784 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.8657, allocations: 39.66 kB / 0.9784 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.867, allocations: 0.588 MB / 0.979 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.867, allocations: 3.656 kB / 0.979 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.867, allocations: 1.281 kB / 0.979 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.867, allocations: 3.984 kB / 0.979 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/0.8704, allocations: 1.62 MB / 0.9806 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.8704, allocations: 3.188 kB / 0.9806 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005925/0.871, allocations: 123 kB / 0.9807 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/0.871, allocations: 6.188 kB / 0.9807 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.8711, allocations: 10.31 kB / 0.9807 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.8711, allocations: 8.156 kB / 0.9807 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/0.8711, allocations: 8.594 kB / 0.9807 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.8726, allocations: 0.9823 MB / 0.9817 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.8729, allocations: 175 kB / 0.9818 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.873, allocations: 15.06 kB / 0.9819 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004555/0.8735, allocations: 47.22 kB / 0.9819 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.8736, allocations: 46.62 kB / 0.9819 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.8736, allocations: 10.34 kB / 0.982 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003614/0.874, allocations: 254.6 kB / 0.9822 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.874, allocations: 3.938 kB / 0.9822 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001153/0.8752, allocations: 187.1 kB / 0.9824 GB, free: 1.383 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002007/0.8772, allocations: 2.558 MB / 0.9849 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001841/0.879, allocations: 0.9287 MB / 0.9858 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.8791, allocations: 0 / 0.9858 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005062/0.8796, allocations: 284.7 kB / 0.9861 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.8803, allocations: 111.5 kB / 0.9862 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007104/0.8874, allocations: 7.671 MB / 0.9937 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/0.8881, allocations: 0.8826 MB / 0.9945 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007225/0.8888, allocations: 196 kB / 0.9947 GB, free: 4.375 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.8891, allocations: 143.4 kB / 0.9948 GB, free: 4.234 MB / 0.7481 GB Notification: Performance of SimCode: time 2.063e-06/0.8891, allocations: 0 / 0.9948 GB, free: 4.234 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.9127, allocations: 9.287 MB / 1.004 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/0.9131, allocations: 198.8 kB / 1.004 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.789, allocations: 0 / 1.004 GB, free: 10.9 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat does not exist to compare? outputFormat=mat