Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_latest_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.001535/0.001535, allocations: 99.62 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.001874/0.001875, 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 2.687/2.687, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.81/4.81, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000677/0.0006774, allocations: 16 kB / 0.8375 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641/1.642, allocations: 146.8 MB / 0.9809 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.008322/1.65, allocations: 3.611 MB / 0.9844 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007398/1.658, allocations: 2.437 MB / 0.9868 GB, free: 288 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000638/1.659, allocations: 11.88 kB / 0.9868 GB, free: 276 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003517/1.659, allocations: 51.62 kB / 0.9868 GB, free: 224 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001717/1.661, allocations: 267.2 kB / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002278/1.663, allocations: 410.1 kB / 0.9875 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001427/1.664, allocations: 427 kB / 0.9879 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/1.666, allocations: 0.4913 MB / 0.9884 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005267/1.667, allocations: 183.3 kB / 0.9885 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006161/1.667, allocations: 239.1 kB / 0.9888 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.017e-05/1.667, allocations: 20 kB / 0.9888 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006361/1.668, allocations: 147.7 kB / 0.9889 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003567/1.668, allocations: 155.6 kB / 0.9891 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000184/1.669, allocations: 109.4 kB / 0.9892 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009789/1.67, allocations: 0.5165 MB / 0.9897 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.67, allocations: 0 / 0.9897 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.757e-06/1.67, allocations: 0 / 0.9897 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.578e-06/1.67, allocations: 4 kB / 0.9897 GB, free: 13.25 MB / 0.7481 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.002213/1.672, allocations: 0.7249 MB / 0.9904 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.972e-05/1.672, allocations: 12.03 kB / 0.9904 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/1.672, allocations: 86.52 kB / 0.9905 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/1.674, allocations: 159.2 kB / 0.9906 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/1.675, allocations: 350 kB / 0.991 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.206e-05/1.675, allocations: 36.94 kB / 0.991 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/1.675, allocations: 39.94 kB / 0.9911 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/1.678, allocations: 0.829 MB / 0.9919 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/1.678, allocations: 4 kB / 0.9919 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.52e-05/1.678, allocations: 19.98 kB / 0.9919 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/1.678, allocations: 60.61 kB / 0.9919 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/1.68, allocations: 0.6541 MB / 0.9926 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007913/1.688, allocations: 4.635 MB / 0.9971 GB, free: 5.109 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/1.69, allocations: 497 kB / 0.9976 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.883e-05/1.69, allocations: 19.86 kB / 0.9976 GB, free: 4.586 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/1.69, allocations: 42.56 kB / 0.9976 GB, free: 4.535 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 3.467e-06/1.69, allocations: 0 / 0.9976 GB, free: 4.535 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34): time 0.003225/1.693, allocations: 0.8909 MB / 0.9985 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.533e-05/1.693, allocations: 77.11 kB / 0.9986 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006983/1.694, allocations: 373.5 kB / 0.9989 GB, free: 3.172 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/1.694, allocations: 29.7 kB / 0.999 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/1.694, allocations: 283 kB / 0.9992 GB, free: 2.855 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/1.695, allocations: 126.3 kB / 0.9994 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/1.695, allocations: 12 kB / 0.9994 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002461/1.695, allocations: 346.8 kB / 0.9997 GB, free: 2.371 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000818/1.696, allocations: 257 kB / 1 GB, free: 2.121 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/1.697, allocations: 478.5 kB / 1 GB, free: 1.547 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/1.699, allocations: 327.8 kB / 1.001 GB, free: 1.227 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/1.699, allocations: 0 / 1.001 GB, free: 1.227 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002389/1.701, allocations: 0.786 MB / 1.001 GB, free: 444 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0018/1.703, allocations: 2.79 MB / 1.004 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/1.703, allocations: 4 kB / 1.004 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-05/1.703, allocations: 12 kB / 1.004 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/1.704, allocations: 171.6 kB / 1.004 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.88e-05/1.705, allocations: 19.92 kB / 1.004 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009311/1.705, allocations: 75.73 kB / 1.004 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.209e-05/1.706, allocations: 27.98 kB / 1.005 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.706, allocations: 4 kB / 1.005 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001912/1.708, allocations: 0.6007 MB / 1.005 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.708, allocations: 4 kB / 1.005 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/1.708, allocations: 12 kB / 1.005 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009727/1.709, allocations: 156.4 kB / 1.005 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.464e-05/1.709, allocations: 12 kB / 1.005 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007962/1.709, allocations: 59.84 kB / 1.005 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/1.71, allocations: 27.98 kB / 1.005 GB, free: 12.25 MB / 0.7637 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.0007937/1.71, allocations: 286.3 kB / 1.006 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/1.711, allocations: 43.48 kB / 1.006 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/1.713, allocations: 0.5915 MB / 1.006 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/1.713, allocations: 4 kB / 1.006 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/1.713, allocations: 0 / 1.006 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.713, allocations: 3.984 kB / 1.006 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004718/1.718, allocations: 1.625 MB / 1.008 GB, free: 9.582 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/1.718, allocations: 4.469 kB / 1.008 GB, free: 9.578 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009688/1.719, allocations: 127.8 kB / 1.008 GB, free: 9.453 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.693e-05/1.719, allocations: 4 kB / 1.008 GB, free: 9.449 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.994e-05/1.719, allocations: 15.94 kB / 1.008 GB, free: 9.434 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/1.719, allocations: 4 kB / 1.008 GB, free: 9.43 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.427e-05/1.719, allocations: 7.953 kB / 1.008 GB, free: 9.422 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/1.721, allocations: 0.9893 MB / 1.009 GB, free: 8.277 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/1.722, allocations: 172.5 kB / 1.009 GB, free: 8.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/1.722, allocations: 15.98 kB / 1.009 GB, free: 8.074 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/1.722, allocations: 47.94 kB / 1.009 GB, free: 8.027 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/1.723, allocations: 27.92 kB / 1.009 GB, free: 8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/1.723, allocations: 20 kB / 1.009 GB, free: 7.98 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005244/1.723, allocations: 251.1 kB / 1.009 GB, free: 7.738 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.71e-07/1.723, allocations: 0 / 1.009 GB, free: 7.738 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001883/1.725, allocations: 196 kB / 1.01 GB, free: 7.547 MB / 0.7637 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.003566/1.729, allocations: 2.555 MB / 1.012 GB, free: 4.863 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003169/1.732, allocations: 0.9328 MB / 1.013 GB, free: 3.934 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/1.732, allocations: 0 / 1.013 GB, free: 3.934 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0009577/1.733, allocations: 280.9 kB / 1.013 GB, free: 3.66 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/1.734, allocations: 107.6 kB / 1.013 GB, free: 3.555 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/1.746, allocations: 7.67 MB / 1.021 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008646/1.747, allocations: 0.8748 MB / 1.022 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001188/1.748, allocations: 200 kB / 1.022 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004553/1.749, allocations: 143.4 kB / 1.022 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of SimCode: time 2.405e-06/1.749, allocations: 0 / 1.022 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04419/1.793, allocations: 9.282 MB / 1.031 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004158/1.793, allocations: 198.5 kB / 1.031 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.266/5.059, allocations: 5.812 kB / 1.031 GB, free: 1.078 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat does not exist to compare? outputFormat=mat