Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 110.5 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 195.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.065/1.065, allocations: 175.8 MB / 478.4 MB, free: 8.469 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 72.83 kB / 0.6652 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.2006, allocations: 94.54 MB / 0.7575 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002853/0.2034, allocations: 1.496 MB / 0.759 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3654/0.5688, allocations: 411.4 kB / 0.7594 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.5689, allocations: 4.688 kB / 0.7594 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.5689, allocations: 4.312 kB / 0.7594 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.649e-05/0.569, allocations: 13.28 kB / 0.7594 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.5692, allocations: 16.48 kB / 0.7594 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.863e-05/0.5693, allocations: 55.7 kB / 0.7595 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.5694, allocations: 12.19 kB / 0.7595 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.957e-05/0.5695, allocations: 24.25 kB / 0.7595 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.5695, allocations: 25.94 kB / 0.7595 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.5696, allocations: 3.031 kB / 0.7595 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.5696, allocations: 3.844 kB / 0.7595 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.5696, allocations: 10.58 kB / 0.7595 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.5696, allocations: 23.78 kB / 0.7596 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.5697, allocations: 47.69 kB / 0.7596 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5697, allocations: 0 / 0.7596 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5697, allocations: 0.875 kB / 0.7596 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.5697, allocations: 0.8438 kB / 0.7596 GB, free: 7.969 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004268/0.5702, allocations: 360.5 kB / 0.76 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.5702, allocations: 10.19 kB / 0.76 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.485e-05/0.5702, allocations: 35.41 kB / 0.76 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.5703, allocations: 8.016 kB / 0.76 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.302e-05/0.5703, allocations: 177 kB / 0.7602 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.5703, allocations: 1.188 kB / 0.7602 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.5704, allocations: 5.844 kB / 0.7602 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.5705, allocations: 58.45 kB / 0.7602 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.5705, allocations: 5.281 kB / 0.7602 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.5705, allocations: 0.5625 kB / 0.7602 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5705, allocations: 1.406 kB / 0.7602 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.5707, allocations: 34.45 kB / 0.7603 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.571, allocations: 275 kB / 0.7605 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.5711, allocations: 43.92 kB / 0.7606 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.636e-05/0.5711, allocations: 26.31 kB / 0.7606 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.5712, allocations: 2.5 kB / 0.7606 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.5712, allocations: 32.84 kB / 0.7606 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.5712, allocations: 1.438 kB / 0.7606 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.000296/0.5715, allocations: 90.5 kB / 0.7607 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.5715, allocations: 52.55 kB / 0.7608 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.5716, allocations: 117 kB / 0.7609 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-06/0.5716, allocations: 26.23 kB / 0.7609 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.5716, allocations: 95.28 kB / 0.761 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.5716, allocations: 14.88 kB / 0.761 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.5717, allocations: 13.66 kB / 0.761 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.129e-05/0.5717, allocations: 324.8 kB / 0.7613 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.304e-05/0.5718, allocations: 16.36 kB / 0.7614 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.343e-05/0.5718, allocations: 18.02 kB / 0.7614 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.5719, allocations: 39.94 kB / 0.7614 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5719, allocations: 0 / 0.7614 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001425/0.5721, allocations: 78.83 kB / 0.7615 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.5721, allocations: 6.422 kB / 0.7615 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.5721, allocations: 1 kB / 0.7615 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.5721, allocations: 2.906 kB / 0.7615 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.5722, allocations: 10.22 kB / 0.7615 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.5722, allocations: 2.016 kB / 0.7615 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.5722, allocations: 4.359 kB / 0.7615 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.5722, allocations: 3.734 kB / 0.7615 GB, free: 6.289 MB / 0.5762 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.5723, allocations: 119.3 kB / 0.7616 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.5723, allocations: 2.891 kB / 0.7616 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.5723, allocations: 10.02 kB / 0.7616 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.5723, allocations: 5.062 kB / 0.7617 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.5723, allocations: 4.438 kB / 0.7617 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5723, allocations: 1.531 kB / 0.7617 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.5725, allocations: 171.8 kB / 0.7618 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5725, allocations: 1.188 kB / 0.7618 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.5725, allocations: 10.55 kB / 0.7618 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5725, allocations: 0.6562 kB / 0.7618 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.5725, allocations: 9.453 kB / 0.7618 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5725, allocations: 0 / 0.7618 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5725, allocations: 1.812 kB / 0.7618 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.5727, allocations: 170.8 kB / 0.762 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.5727, allocations: 83.47 kB / 0.7621 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.5727, allocations: 1.953 kB / 0.7621 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/0.5728, allocations: 9.312 kB / 0.7621 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.5729, allocations: 3.266 kB / 0.7621 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.5729, allocations: 1.5 kB / 0.7621 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.5729, allocations: 96.67 kB / 0.7622 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5729, allocations: 0 / 0.7622 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002223/0.5731, allocations: 11.38 kB / 0.7622 GB, free: 5.633 MB / 0.5762 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003257/0.5735, allocations: 0.704 MB / 0.7629 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001755/0.5736, allocations: 40.23 kB / 0.7629 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5736, allocations: 0 / 0.7629 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.582e-05/0.5737, allocations: 23.42 kB / 0.763 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.5739, allocations: 2.422 kB / 0.763 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.5743, allocations: 211.1 kB / 0.7632 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.5746, allocations: 0.6878 MB / 0.7638 GB, free: 20.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.214e-05/0.5746, allocations: 1.781 kB / 0.7638 GB, free: 20.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.5747, allocations: 16.64 kB / 0.7638 GB, free: 20.09 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.5747, allocations: 0.9375 kB / 0.7638 GB, free: 20.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.5979, allocations: 1.517 MB / 0.7653 GB, free: 19.74 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/8.321, allocations: 9.938 kB / 0.7653 GB, free: 19.73 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.993981757201254] Failed to read output from testmodel.py, exit status != 0: 8.388971132226288 8.407379279 7.8337698 Calling exit ...