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.0007888/0.0007888, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0009286/0.0009287, allocations: 168.7 kB / 15.95 MB, free: 204 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.324/1.324, allocations: 223.3 MB / 240 MB, free: 5.395 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.516/2.516, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003514, allocations: 11.94 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7964/0.7968, allocations: 142.3 MB / 0.9539 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.004754/0.8016, allocations: 3.678 MB / 0.9575 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005388/0.807, allocations: 2.47 MB / 0.9599 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005268/0.8076, allocations: 8.688 kB / 0.9599 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003929/0.808, allocations: 68.42 kB / 0.9599 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.8092, allocations: 307.1 kB / 0.9602 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.8109, allocations: 409.5 kB / 0.9606 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001514/0.8124, allocations: 0.8069 MB / 0.9614 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.8136, allocations: 0.4958 MB / 0.9619 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000493/0.8141, allocations: 218.5 kB / 0.9621 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000633/0.8147, allocations: 321.1 kB / 0.9624 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.08e-05/0.8148, allocations: 18.97 kB / 0.9624 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004476/0.8153, allocations: 143.3 kB / 0.9626 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.8155, allocations: 164.5 kB / 0.9627 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.8156, allocations: 111.4 kB / 0.9628 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.8162, allocations: 0.5331 MB / 0.9634 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.8162, allocations: 0 / 0.9634 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8162, allocations: 0 / 0.9634 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.8162, allocations: 0 / 0.9634 GB, free: 1.031 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.001262/0.8175, allocations: 0.7266 MB / 0.9641 GB, free: 420 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.8176, allocations: 13.41 kB / 0.9641 GB, free: 416 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.8177, allocations: 88.02 kB / 0.9642 GB, free: 336 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008288/0.8185, allocations: 145.6 kB / 0.9643 GB, free: 264 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/0.819, allocations: 351.1 kB / 0.9646 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.8191, allocations: 29 kB / 0.9647 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.773e-05/0.8192, allocations: 42.8 kB / 0.9647 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.8205, allocations: 0.8271 MB / 0.9655 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.8206, allocations: 14.58 kB / 0.9655 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/0.8206, allocations: 18.48 kB / 0.9655 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/0.8208, allocations: 68.56 kB / 0.9656 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.822, allocations: 0.65 MB / 0.9662 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004419/0.8265, allocations: 4.64 MB / 0.9708 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.8276, allocations: 0.499 MB / 0.9713 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005171/0.8281, allocations: 280.6 kB / 0.9715 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.8281, allocations: 3.969 kB / 0.9715 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.8282, allocations: 40.94 kB / 0.9716 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/0.8282, allocations: 0 / 0.9716 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.001926/0.8301, allocations: 0.8965 MB / 0.9724 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.8302, allocations: 85.09 kB / 0.9725 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.8306, allocations: 367.6 kB / 0.9729 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.8307, allocations: 30.73 kB / 0.9729 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.8309, allocations: 290.8 kB / 0.9732 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.831, allocations: 118.4 kB / 0.9733 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.831, allocations: 10.59 kB / 0.9733 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.8312, allocations: 348.3 kB / 0.9736 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.8317, allocations: 263.7 kB / 0.9739 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.8324, allocations: 478.7 kB / 0.9743 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/0.833, allocations: 329.8 kB / 0.9747 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.833, allocations: 5.438 kB / 0.9747 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001392/0.8344, allocations: 0.7704 MB / 0.9754 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000201/0.8346, allocations: 308.8 kB / 0.9757 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.8346, allocations: 7.438 kB / 0.9757 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.8346, allocations: 15.16 kB / 0.9757 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.8353, allocations: 164.4 kB / 0.9759 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/0.8353, allocations: 14.47 kB / 0.9759 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.8358, allocations: 79.39 kB / 0.976 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.8359, allocations: 25.22 kB / 0.976 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/0.8359, allocations: 3.75 kB / 0.976 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001094/0.837, allocations: 0.6107 MB / 0.9766 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.837, allocations: 6.344 kB / 0.9766 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.837, allocations: 11.25 kB / 0.9766 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.8375, allocations: 149.7 kB / 0.9768 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.8376, allocations: 21.61 kB / 0.9768 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.8379, allocations: 51.41 kB / 0.9768 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.8379, allocations: 30.05 kB / 0.9769 GB, free: 6.5 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.0002942/0.8382, allocations: 286.8 kB / 0.9771 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.515e-05/0.8383, allocations: 39.5 kB / 0.9772 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.8395, allocations: 0.5921 MB / 0.9778 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.8395, allocations: 2.969 kB / 0.9778 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.8395, allocations: 1.469 kB / 0.9778 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.8395, allocations: 0 / 0.9778 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.8422, allocations: 1.619 MB / 0.9793 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.8422, allocations: 12.56 kB / 0.9793 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005197/0.8427, allocations: 118.8 kB / 0.9795 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.8427, allocations: 5.25 kB / 0.9795 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.8428, allocations: 9.531 kB / 0.9795 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.8428, allocations: 9.156 kB / 0.9795 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.8428, allocations: 8.719 kB / 0.9795 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.8439, allocations: 0.8136 MB / 0.9803 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.8441, allocations: 172.5 kB / 0.9805 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/0.8442, allocations: 12 kB / 0.9805 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.8446, allocations: 51.94 kB / 0.9805 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/0.8447, allocations: 31.86 kB / 0.9805 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.8447, allocations: 16 kB / 0.9806 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002577/0.845, allocations: 255.1 kB / 0.9808 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.845, allocations: 0 / 0.9808 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008849/0.8459, allocations: 188 kB / 0.981 GB, free: 3.273 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.001287/0.8472, allocations: 1.353 MB / 0.9823 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.8487, allocations: 0.9364 MB / 0.9832 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8487, allocations: 0 / 0.9832 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004669/0.8492, allocations: 277.2 kB / 0.9835 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007715/0.85, allocations: 118.9 kB / 0.9836 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/0.8542, allocations: 3.001 MB / 0.9865 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.8546, allocations: 0.8709 MB / 0.9874 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005749/0.8552, allocations: 196 kB / 0.9876 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.8555, allocations: 155.4 kB / 0.9877 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.8555, allocations: 0 / 0.9877 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.8766, allocations: 9.29 MB / 0.9968 GB, free: 3 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.8768, allocations: 207.8 kB / 0.997 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.845, allocations: 0 / 0.997 GB, free: 2.754 MB / 0.7481 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