Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_9_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.00116/0.00116, 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.001386/0.001387, 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.504/1.504, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.465/2.465, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7736/0.774, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.004395/0.7784, allocations: 3.722 MB / 0.9572 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003987/0.7825, allocations: 2.444 MB / 0.9596 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.7828, allocations: 9.438 kB / 0.9596 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.783, allocations: 59.72 kB / 0.9597 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006974/0.7837, allocations: 276.6 kB / 0.96 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.7848, allocations: 415.6 kB / 0.9604 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005995/0.7854, allocations: 438.7 kB / 0.9608 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006931/0.7861, allocations: 489.8 kB / 0.9612 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.7864, allocations: 196.4 kB / 0.9614 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.7868, allocations: 242.1 kB / 0.9617 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.177e-05/0.7868, allocations: 23.91 kB / 0.9617 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.7872, allocations: 139.7 kB / 0.9618 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.7874, allocations: 156.2 kB / 0.962 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.7875, allocations: 112.3 kB / 0.9621 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005209/0.788, allocations: 0.5375 MB / 0.9626 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.788, allocations: 0 / 0.9626 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.304e-06/0.788, allocations: 0 / 0.9626 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.7881, allocations: 5 kB / 0.9626 GB, free: 1.32 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001227/0.7893, allocations: 0.754 MB / 0.9633 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.7893, allocations: 8.656 kB / 0.9633 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.51e-05/0.7894, allocations: 96.81 kB / 0.9634 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000895/0.7903, allocations: 157.8 kB / 0.9636 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/0.7908, allocations: 356 kB / 0.9639 GB, free: 216 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.7909, allocations: 33.98 kB / 0.964 GB, free: 200 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.381e-05/0.791, allocations: 39.72 kB / 0.964 GB, free: 188 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.7922, allocations: 0.8429 MB / 0.9648 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.7923, allocations: 2.531 kB / 0.9648 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/0.7923, allocations: 22.92 kB / 0.9648 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/0.7924, allocations: 64.23 kB / 0.9649 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.7938, allocations: 0.7006 MB / 0.9656 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004299/0.7981, allocations: 4.494 MB / 0.97 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.7995, allocations: 0.6255 MB / 0.9706 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.7996, allocations: 8.047 kB / 0.9706 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.7996, allocations: 40.56 kB / 0.9706 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=38): time 2.445e-06/0.7996, allocations: 0.9375 kB / 0.9706 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.002271/0.8019, allocations: 0.9946 MB / 0.9716 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.802, allocations: 80.73 kB / 0.9717 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/0.8024, allocations: 354.3 kB / 0.972 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.8025, allocations: 31.17 kB / 0.9721 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.8027, allocations: 284.3 kB / 0.9723 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.8028, allocations: 131.2 kB / 0.9724 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.8028, allocations: 14.84 kB / 0.9725 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.803, allocations: 351.7 kB / 0.9728 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005757/0.8036, allocations: 278.2 kB / 0.9731 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007495/0.8043, allocations: 495.2 kB / 0.9735 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006393/0.805, allocations: 346.8 kB / 0.9739 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.805, allocations: 1.906 kB / 0.9739 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001607/0.8066, allocations: 0.8178 MB / 0.9747 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.001133/0.8077, allocations: 2.613 MB / 0.9772 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.8078, allocations: 10.75 kB / 0.9772 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.8078, allocations: 10.75 kB / 0.9772 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008011/0.8086, allocations: 177 kB / 0.9774 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.188e-05/0.8086, allocations: 10.03 kB / 0.9774 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005871/0.8092, allocations: 89.02 kB / 0.9775 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/0.8093, allocations: 29.27 kB / 0.9775 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.8093, allocations: 7.312 kB / 0.9775 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001392/0.8107, allocations: 0.6436 MB / 0.9782 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.8107, allocations: 10.58 kB / 0.9782 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.8108, allocations: 10.81 kB / 0.9782 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/0.8114, allocations: 163.6 kB / 0.9783 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.8114, allocations: 9.844 kB / 0.9784 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/0.8118, allocations: 74.3 kB / 0.9784 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.8119, allocations: 28.14 kB / 0.9784 GB, free: 4.492 MB / 0.7325 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.0003849/0.8123, allocations: 288.4 kB / 0.9787 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.8124, allocations: 39.84 kB / 0.9788 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.8139, allocations: 0.6775 MB / 0.9794 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.8139, allocations: 5.438 kB / 0.9794 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.814, allocations: 0 / 0.9794 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.814, allocations: 5.109 kB / 0.9794 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.8166, allocations: 1.481 MB / 0.9809 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.8167, allocations: 6.531 kB / 0.9809 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007408/0.8174, allocations: 150.6 kB / 0.981 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.8174, allocations: 4.312 kB / 0.981 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.8175, allocations: 15.33 kB / 0.981 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.8175, allocations: 3.375 kB / 0.9811 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.8175, allocations: 2.281 kB / 0.9811 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.8188, allocations: 0.9296 MB / 0.982 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/0.8191, allocations: 168.4 kB / 0.9821 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/0.8191, allocations: 16 kB / 0.9821 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/0.8196, allocations: 63.86 kB / 0.9822 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-05/0.8197, allocations: 31.95 kB / 0.9822 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.8197, allocations: 16 kB / 0.9822 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002824/0.82, allocations: 247.2 kB / 0.9825 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.82, allocations: 3.938 kB / 0.9825 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009117/0.8209, allocations: 200 kB / 0.9827 GB, free: 1.199 MB / 0.7325 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.001732/0.8227, allocations: 1.936 MB / 0.9846 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.8246, allocations: 1.013 MB / 0.9856 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.8246, allocations: 0 / 0.9856 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005618/0.8252, allocations: 320.2 kB / 0.9859 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006361/0.8258, allocations: 100.3 kB / 0.986 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006454/0.8323, allocations: 7.478 MB / 0.9933 GB, free: 6.094 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.8328, allocations: 0.8913 MB / 0.9941 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006398/0.8334, allocations: 204 kB / 0.9943 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.8337, allocations: 159.4 kB / 0.9945 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/0.8337, allocations: 0 / 0.9945 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.8575, allocations: 9.866 MB / 1.004 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/0.8578, allocations: 206.4 kB / 1.004 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.803, allocations: 0 / 1.004 GB, free: 10.95 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat does not exist to compare? outputFormat=mat