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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.795/2.795, allocations: 387.1 MB / 399.7 MB, free: 9.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 176.5 kB / 492.3 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 221.3 MB / 0.7872 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 91.91 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.768e-05/3.782e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2975, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.324, allocations: 176.8 MB / 1.385 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/1.325, allocations: 97.33 kB / 1.385 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07029/1.395, allocations: 30.93 MB / 1.415 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.853e-06/1.395, allocations: 0 / 1.415 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.202e-05/1.395, allocations: 11.94 kB / 1.415 GB, free: 12.48 MB / 0.8386 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.001785/1.397, allocations: 0.7294 MB / 1.416 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.991e-05/1.397, allocations: 8.031 kB / 1.416 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002273/1.397, allocations: 89.69 kB / 1.416 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/1.399, allocations: 175.1 kB / 1.416 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007304/1.4, allocations: 365.4 kB / 1.417 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/1.4, allocations: 33.8 kB / 1.417 GB, free: 11.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/1.4, allocations: 46.3 kB / 1.417 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/1.401, allocations: 0.7632 MB / 1.418 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/1.401, allocations: 7.938 kB / 1.418 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.237e-05/1.401, allocations: 18.86 kB / 1.418 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/1.401, allocations: 59.11 kB / 1.418 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009473/1.402, allocations: 0.5777 MB / 1.418 GB, free: 9.902 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00424/1.406, allocations: 4.609 MB / 1.423 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008266/1.407, allocations: 464.8 kB / 1.423 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/1.408, allocations: 251 kB / 1.423 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/1.408, allocations: 8.516 kB / 1.423 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/1.408, allocations: 37.88 kB / 1.423 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 2.415e-06/1.408, allocations: 0 / 1.423 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.001194/1.409, allocations: 0.614 MB / 1.424 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/1.409, allocations: 81.11 kB / 1.424 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/1.409, allocations: 311.7 kB / 1.424 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/1.409, allocations: 33.39 kB / 1.424 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/1.41, allocations: 290.3 kB / 1.425 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/1.41, allocations: 121.3 kB / 1.425 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/1.41, allocations: 7.562 kB / 1.425 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.41, allocations: 357.7 kB / 1.425 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/1.41, allocations: 219 kB / 1.425 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/1.411, allocations: 439.3 kB / 1.426 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/1.411, allocations: 293.5 kB / 1.426 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.411, allocations: 4 kB / 1.426 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001049/1.412, allocations: 0.698 MB / 1.427 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001142/1.413, allocations: 2.797 MB / 1.43 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/1.413, allocations: 15.92 kB / 1.43 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/1.413, allocations: 8 kB / 1.43 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007315/1.414, allocations: 171.4 kB / 1.43 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/1.414, allocations: 11.98 kB / 1.43 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/1.415, allocations: 74.69 kB / 1.43 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/1.415, allocations: 27.73 kB / 1.43 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/1.415, allocations: 4 kB / 1.43 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008032/1.416, allocations: 0.5419 MB / 1.43 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.416, allocations: 8 kB / 1.43 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/1.416, allocations: 8 kB / 1.43 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/1.416, allocations: 143.5 kB / 1.43 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/1.416, allocations: 19.92 kB / 1.431 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/1.417, allocations: 58.12 kB / 1.431 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/1.417, allocations: 27.48 kB / 1.431 GB, free: 13.89 MB / 0.8542 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 () * 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.0001569/1.417, allocations: 139.8 kB / 1.431 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/1.417, allocations: 43.47 kB / 1.431 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000922/1.418, allocations: 0.5187 MB / 1.431 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/1.418, allocations: 4 kB / 1.431 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.418, allocations: 3.984 kB / 1.431 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/1.418, allocations: 4 kB / 1.431 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/1.42, allocations: 1.546 MB / 1.433 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.42, allocations: 4 kB / 1.433 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/1.421, allocations: 115.8 kB / 1.433 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/1.421, allocations: 12.41 kB / 1.433 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/1.421, allocations: 18.19 kB / 1.433 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.709e-06/1.421, allocations: 7.938 kB / 1.433 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.421, allocations: 4 kB / 1.433 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009874/1.422, allocations: 0.9124 MB / 1.434 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/1.422, allocations: 168.1 kB / 1.434 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-05/1.422, allocations: 15.81 kB / 1.434 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004282/1.423, allocations: 55.8 kB / 1.434 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/1.423, allocations: 31.67 kB / 1.434 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/1.423, allocations: 19.81 kB / 1.434 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002627/1.423, allocations: 247.5 kB / 1.434 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.21e-07/1.423, allocations: 0 / 1.434 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009287/1.424, allocations: 214.6 kB / 1.435 GB, free: 10.23 MB / 0.8542 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 () * 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.001795/1.426, allocations: 2.503 MB / 1.437 GB, free: 7.746 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001487/1.427, allocations: 0.8121 MB / 1.438 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/1.427, allocations: 8.188 kB / 1.438 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003994/1.428, allocations: 240.8 kB / 1.438 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008273/1.429, allocations: 108.1 kB / 1.438 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/1.431, allocations: 0.9214 MB / 1.439 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006383/1.432, allocations: 0.8786 MB / 1.44 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007473/1.433, allocations: 215.9 kB / 1.44 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/1.433, allocations: 143.6 kB / 1.44 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of SimCode: time 1.443e-06/1.433, allocations: 0 / 1.44 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/1.461, allocations: 9.75 MB / 1.45 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/1.461, allocations: 161.6 kB / 1.45 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.847, allocations: 4 kB / 1.45 GB, free: 11.07 MB / 0.8698 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