Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_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.002002/0.002002, allocations: 100.2 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.003448/0.003448, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.04/3.04, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.714/5.714, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008442/0.0008444, allocations: 8 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902/1.903, allocations: 146.8 MB / 0.9809 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.007941/1.911, allocations: 3.728 MB / 0.9845 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006939/1.918, allocations: 2.452 MB / 0.9869 GB, free: 136 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009066/1.919, allocations: 11.88 kB / 0.9869 GB, free: 124 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004584/1.92, allocations: 59.55 kB / 0.987 GB, free: 64 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/1.922, allocations: 275.1 kB / 0.9872 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00209/1.924, allocations: 417.7 kB / 0.9876 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001358/1.925, allocations: 443 kB / 0.9881 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/1.927, allocations: 475.4 kB / 0.9885 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006674/1.927, allocations: 191.3 kB / 0.9887 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007375/1.928, allocations: 247.1 kB / 0.9889 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.917e-05/1.928, allocations: 19.94 kB / 0.9889 GB, free: 14 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006968/1.929, allocations: 135.8 kB / 0.9891 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000268/1.929, allocations: 163.6 kB / 0.9892 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001787/1.929, allocations: 109.4 kB / 0.9893 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009615/1.93, allocations: 0.5399 MB / 0.9899 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.93, allocations: 0 / 0.9899 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.687e-06/1.93, allocations: 0 / 0.9899 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.026e-05/1.93, allocations: 0 / 0.9899 GB, free: 13.05 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002309/1.933, allocations: 0.7521 MB / 0.9906 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.478e-05/1.933, allocations: 16.03 kB / 0.9906 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/1.933, allocations: 82.52 kB / 0.9907 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/1.935, allocations: 159.2 kB / 0.9908 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009383/1.936, allocations: 354 kB / 0.9912 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/1.936, allocations: 33 kB / 0.9912 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/1.936, allocations: 47.94 kB / 0.9913 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/1.938, allocations: 0.8438 MB / 0.9921 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.278e-05/1.938, allocations: 11.88 kB / 0.9921 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.757e-05/1.938, allocations: 23.98 kB / 0.9921 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002119/1.939, allocations: 60.95 kB / 0.9922 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/1.941, allocations: 0.6984 MB / 0.9929 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007409/1.948, allocations: 4.488 MB / 0.9972 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/1.951, allocations: 0.6104 MB / 0.9978 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.826e-05/1.951, allocations: 15.89 kB / 0.9979 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.513e-05/1.951, allocations: 46.56 kB / 0.9979 GB, free: 4.262 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=38): time 5.29e-06/1.951, allocations: 0 / 0.9979 GB, free: 4.262 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39): time 0.003598/1.954, allocations: 0.9914 MB / 0.9989 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/1.954, allocations: 81.11 kB / 0.9989 GB, free: 3.164 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006366/1.955, allocations: 349.5 kB / 0.9993 GB, free: 2.812 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.096e-05/1.955, allocations: 33.7 kB / 0.9993 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/1.956, allocations: 287.8 kB / 0.9996 GB, free: 2.484 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/1.956, allocations: 138.1 kB / 0.9997 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/1.956, allocations: 8 kB / 0.9997 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002307/1.956, allocations: 350.8 kB / 1 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008745/1.957, allocations: 284.9 kB / 1 GB, free: 1.711 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/1.958, allocations: 484 kB / 1.001 GB, free: 1.141 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/1.959, allocations: 355.5 kB / 1.001 GB, free: 0.793 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.959, allocations: 3.938 kB / 1.001 GB, free: 0.7891 MB / 0.7481 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002512/1.962, allocations: 0.8247 MB / 1.002 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001924/1.964, allocations: 2.615 MB / 1.004 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/1.964, allocations: 8 kB / 1.004 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.161e-05/1.964, allocations: 8 kB / 1.005 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/1.965, allocations: 179.7 kB / 1.005 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.377e-05/1.965, allocations: 11.94 kB / 1.005 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009064/1.966, allocations: 83.7 kB / 1.005 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.635e-05/1.966, allocations: 31.98 kB / 1.005 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.966, allocations: 0 / 1.005 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002316/1.968, allocations: 0.6514 MB / 1.005 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/1.968, allocations: 8 kB / 1.005 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.4e-05/1.969, allocations: 12 kB / 1.005 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/1.97, allocations: 160.2 kB / 1.006 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.84e-05/1.97, allocations: 19.92 kB / 1.006 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007542/1.97, allocations: 67.7 kB / 1.006 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.118e-05/1.97, allocations: 24 kB / 1.006 GB, free: 11.88 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * 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.0006199/1.971, allocations: 284.9 kB / 1.006 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/1.971, allocations: 47.52 kB / 1.006 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/1.974, allocations: 0.6768 MB / 1.007 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/1.974, allocations: 7.953 kB / 1.007 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/1.974, allocations: 0 / 1.007 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/1.974, allocations: 11.98 kB / 1.007 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004245/1.978, allocations: 1.475 MB / 1.008 GB, free: 9.297 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/1.978, allocations: 0 / 1.008 GB, free: 9.297 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/1.979, allocations: 151.8 kB / 1.008 GB, free: 9.148 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.12e-05/1.979, allocations: 4 kB / 1.008 GB, free: 9.145 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.176e-05/1.979, allocations: 12.22 kB / 1.008 GB, free: 9.133 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.34e-05/1.979, allocations: 4 kB / 1.008 GB, free: 9.129 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/1.979, allocations: 4 kB / 1.008 GB, free: 9.125 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/1.982, allocations: 0.9087 MB / 1.009 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000589/1.982, allocations: 180.3 kB / 1.009 GB, free: 7.941 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.983, allocations: 11.94 kB / 1.009 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000768/1.983, allocations: 63.92 kB / 1.009 GB, free: 7.867 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/1.984, allocations: 39.75 kB / 1.009 GB, free: 7.828 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/1.984, allocations: 23.89 kB / 1.01 GB, free: 7.805 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005365/1.984, allocations: 251.2 kB / 1.01 GB, free: 7.562 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.7e-07/1.984, allocations: 0 / 1.01 GB, free: 7.562 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001802/1.986, allocations: 192 kB / 1.01 GB, free: 7.375 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 42 * 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.003656/1.99, allocations: 1.943 MB / 1.012 GB, free: 5.359 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00378/1.994, allocations: 0.9943 MB / 1.013 GB, free: 4.367 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/1.994, allocations: 0 / 1.013 GB, free: 4.367 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/1.995, allocations: 316.1 kB / 1.013 GB, free: 4.059 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/1.996, allocations: 119.2 kB / 1.013 GB, free: 3.945 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/2.012, allocations: 7.477 MB / 1.021 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/2.013, allocations: 0.8874 MB / 1.021 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001342/2.014, allocations: 200.1 kB / 1.022 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004881/2.015, allocations: 159.4 kB / 1.022 GB, free: 11 MB / 0.7794 GB Notification: Performance of SimCode: time 8.386e-06/2.015, allocations: 0 / 1.022 GB, free: 11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/2.117, allocations: 9.875 MB / 1.031 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004434/2.117, allocations: 222.1 kB / 1.032 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.222/6.339, allocations: 0 / 1.032 GB, free: 1.121 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat does not exist to compare? outputFormat=mat