Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.0008426/0.0008426, allocations: 86.41 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.000876/0.0008764, 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.472/1.472, allocations: 223.3 MB / 240 MB, free: 5.422 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.527/2.527, allocations: 390.4 MB / 0.6655 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003211, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7142/0.7146, allocations: 142.3 MB / 0.9539 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00177/0.7164, allocations: 1.583 MB / 0.9554 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003023/0.7194, allocations: 3.224 MB / 0.9585 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.7195, allocations: 1.281 kB / 0.9585 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.7197, allocations: 36.11 kB / 0.9586 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.7201, allocations: 131.1 kB / 0.9587 GB, free: 4 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.142e-05/0.7201, allocations: 24.28 kB / 0.9587 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.7203, allocations: 164.9 kB / 0.9589 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.7204, allocations: 26.42 kB / 0.9589 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.7206, allocations: 70.08 kB / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.7207, allocations: 77.17 kB / 0.9591 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.7208, allocations: 4.5 kB / 0.9591 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.535e-05/0.7209, allocations: 21.23 kB / 0.9591 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.7209, allocations: 36.89 kB / 0.9591 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.721, allocations: 54.33 kB / 0.9592 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.7211, allocations: 115.4 kB / 0.9593 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7211, allocations: 0 / 0.9593 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7211, allocations: 5.375 kB / 0.9593 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7211, allocations: 0 / 0.9593 GB, free: 3.621 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007079/0.7218, allocations: 0.4901 MB / 0.9598 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.7219, allocations: 9.312 kB / 0.9598 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/0.7219, allocations: 37.69 kB / 0.9598 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.722, allocations: 24.44 kB / 0.9598 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.7223, allocations: 236.9 kB / 0.9601 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.7223, allocations: 1.219 kB / 0.9601 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.7223, allocations: 7.625 kB / 0.9601 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.7226, allocations: 154.5 kB / 0.9602 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.7226, allocations: 0 / 0.9602 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.7227, allocations: 13.88 kB / 0.9602 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.7227, allocations: 11.36 kB / 0.9602 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.7231, allocations: 157 kB / 0.9604 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.7237, allocations: 455.6 kB / 0.9608 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.724, allocations: 185 kB / 0.961 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.7243, allocations: 109.9 kB / 0.9611 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.7243, allocations: 5.422 kB / 0.9611 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.7243, allocations: 39.86 kB / 0.9611 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.7243, allocations: 0 / 0.9611 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007597/0.7251, allocations: 317.7 kB / 0.9614 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.7251, allocations: 57.84 kB / 0.9615 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.7253, allocations: 209.6 kB / 0.9617 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.7253, allocations: 26.73 kB / 0.9617 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.7254, allocations: 123.9 kB / 0.9618 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.7254, allocations: 44.48 kB / 0.9619 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.7255, allocations: 1.281 kB / 0.9619 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.7255, allocations: 331.3 kB / 0.9622 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.7257, allocations: 82.72 kB / 0.9623 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.726, allocations: 86.22 kB / 0.9624 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.7262, allocations: 90.06 kB / 0.9625 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7262, allocations: 0 / 0.9625 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004934/0.7267, allocations: 240.7 kB / 0.9627 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.7267, allocations: 5 kB / 0.9627 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.7267, allocations: 0.7812 kB / 0.9627 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.7268, allocations: 1 kB / 0.9627 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.727, allocations: 43.52 kB / 0.9627 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.727, allocations: 1.031 kB / 0.9627 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.7272, allocations: 27.2 kB / 0.9628 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.7272, allocations: 3.781 kB / 0.9628 GB, free: 0.9102 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 8.507e-05/0.7273, allocations: 130.3 kB / 0.9629 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.7273, allocations: 20.52 kB / 0.9629 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.813e-05/0.7274, allocations: 26.36 kB / 0.9629 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.7274, allocations: 5.844 kB / 0.9629 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.7274, allocations: 4.969 kB / 0.9629 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.7274, allocations: 0 / 0.9629 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.7277, allocations: 265.5 kB / 0.9632 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7277, allocations: 3.938 kB / 0.9632 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.7279, allocations: 43.89 kB / 0.9632 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.7279, allocations: 4.984 kB / 0.9632 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.7279, allocations: 5 kB / 0.9632 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.7279, allocations: 1 kB / 0.9632 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7279, allocations: 0 / 0.9632 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.7284, allocations: 333.6 kB / 0.9636 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.7285, allocations: 107.2 kB / 0.9637 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.7285, allocations: 8.859 kB / 0.9637 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.7287, allocations: 23.69 kB / 0.9637 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.7288, allocations: 12.95 kB / 0.9637 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.7288, allocations: 2.438 kB / 0.9637 GB, free: 84 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001285/0.7289, allocations: 155.2 kB / 0.9639 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7289, allocations: 1 kB / 0.9639 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002746/0.7292, allocations: 39.84 kB / 0.9639 GB, free: 15.96 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0008337/0.7301, allocations: 0.8706 MB / 0.9648 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000503/0.7306, allocations: 188 kB / 0.9649 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7306, allocations: 0 / 0.9649 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.7308, allocations: 108.1 kB / 0.965 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.7312, allocations: 32 kB / 0.9651 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.7333, allocations: 1.318 MB / 0.9664 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.7336, allocations: 0.7346 MB / 0.9671 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001923/0.7338, allocations: 52.2 kB / 0.9671 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.923e-05/0.7339, allocations: 50.67 kB / 0.9672 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.7339, allocations: 0 / 0.9672 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.7515, allocations: 3.509 MB / 0.9706 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.7517, allocations: 205.3 kB / 0.9708 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.545, allocations: 0 / 0.9708 GB, free: 11.55 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat does not exist to compare? outputFormat=mat