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.001398/0.001398, allocations: 105.8 kB / 17.54 MB, free: 4.781 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.001358/0.001358, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9683/0.9683, allocations: 175.7 MB / 480.1 MB, free: 2.836 MB / 366.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.001803/0.001803, allocations: 76.11 kB / 0.6678 GB, free: 11.07 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1474, allocations: 94.53 MB / 0.7601 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002389/0.1498, allocations: 1.512 MB / 0.7616 GB, free: 15.36 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0005808/0.1504, allocations: 419 kB / 0.762 GB, free: 14.95 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.1504, allocations: 0 / 0.762 GB, free: 14.95 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.606e-05/0.1505, allocations: 7.875 kB / 0.762 GB, free: 14.94 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.903e-05/0.1505, allocations: 15.86 kB / 0.762 GB, free: 14.92 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.1507, allocations: 15.98 kB / 0.762 GB, free: 14.91 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 8.3e-05/0.1507, allocations: 63.7 kB / 0.762 GB, free: 14.84 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 7.916e-05/0.1508, allocations: 11.94 kB / 0.7621 GB, free: 14.83 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 7.573e-05/0.1509, allocations: 23.92 kB / 0.7621 GB, free: 14.81 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.151, allocations: 19.92 kB / 0.7621 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.151, allocations: 0 / 0.7621 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.151, allocations: 4 kB / 0.7621 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.151, allocations: 15.92 kB / 0.7621 GB, free: 14.77 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.151, allocations: 19.86 kB / 0.7621 GB, free: 14.75 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 8.438e-05/0.1511, allocations: 43.81 kB / 0.7622 GB, free: 14.71 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1511, allocations: 7.938 kB / 0.7622 GB, free: 14.7 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1511, allocations: 0 / 0.7622 GB, free: 14.7 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.1511, allocations: 4 kB / 0.7622 GB, free: 14.7 MB / 0.5763 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.0004456/0.1516, allocations: 363.2 kB / 0.7625 GB, free: 14.29 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.1516, allocations: 8.031 kB / 0.7625 GB, free: 14.29 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.1516, allocations: 30.75 kB / 0.7626 GB, free: 14.25 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.1517, allocations: 8.891 kB / 0.7626 GB, free: 14.24 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.1518, allocations: 176.3 kB / 0.7628 GB, free: 14.03 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.1518, allocations: 4.125 kB / 0.7628 GB, free: 14.02 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.1518, allocations: 0 / 0.7628 GB, free: 14.02 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.152, allocations: 57.67 kB / 0.7628 GB, free: 13.96 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.152, allocations: 7.984 kB / 0.7628 GB, free: 13.95 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.152, allocations: 4 kB / 0.7628 GB, free: 13.95 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.152, allocations: 0 / 0.7628 GB, free: 13.95 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.1521, allocations: 35.91 kB / 0.7629 GB, free: 13.91 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.1524, allocations: 280.8 kB / 0.7631 GB, free: 13.59 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.1525, allocations: 42.56 kB / 0.7632 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.037e-05/0.1526, allocations: 24.94 kB / 0.7632 GB, free: 13.51 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.1526, allocations: 0 / 0.7632 GB, free: 13.51 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.1526, allocations: 34.56 kB / 0.7632 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.1527, allocations: 0 / 0.7632 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.0002833/0.1529, allocations: 93.58 kB / 0.7633 GB, free: 13.37 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.153, allocations: 51.41 kB / 0.7634 GB, free: 13.31 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.583e-05/0.1531, allocations: 113.8 kB / 0.7635 GB, free: 13.19 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1531, allocations: 29.7 kB / 0.7635 GB, free: 13.15 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.1531, allocations: 92.08 kB / 0.7636 GB, free: 13.06 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.1531, allocations: 7.953 kB / 0.7636 GB, free: 13.05 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.1532, allocations: 13.72 kB / 0.7636 GB, free: 13.03 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1533, allocations: 330.8 kB / 0.7639 GB, free: 12.7 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.1534, allocations: 19.92 kB / 0.7639 GB, free: 12.68 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.197e-05/0.1534, allocations: 15.92 kB / 0.764 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.1535, allocations: 44.78 kB / 0.764 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1535, allocations: 0 / 0.764 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001622/0.1537, allocations: 73.61 kB / 0.7641 GB, free: 12.54 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.1537, allocations: 8 kB / 0.7641 GB, free: 12.53 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1537, allocations: 4 kB / 0.7641 GB, free: 12.53 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1537, allocations: 0 / 0.7641 GB, free: 12.53 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.1538, allocations: 7.984 kB / 0.7641 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1538, allocations: 3.984 kB / 0.7641 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.1539, allocations: 7.938 kB / 0.7641 GB, free: 12.51 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1539, allocations: 4 kB / 0.7641 GB, free: 12.5 MB / 0.5763 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 7.281e-05/0.1539, allocations: 113.8 kB / 0.7642 GB, free: 12.38 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.154, allocations: 8 kB / 0.7642 GB, free: 12.38 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.154, allocations: 7.906 kB / 0.7642 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.154, allocations: 0 / 0.7642 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.154, allocations: 0 / 0.7642 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.154, allocations: 7.938 kB / 0.7642 GB, free: 12.35 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.1542, allocations: 177.5 kB / 0.7644 GB, free: 12.12 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1542, allocations: 0 / 0.7644 GB, free: 12.12 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.591e-05/0.1542, allocations: 8 kB / 0.7644 GB, free: 12.12 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1542, allocations: 0 / 0.7644 GB, free: 12.12 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.1542, allocations: 0 / 0.7644 GB, free: 12.12 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1542, allocations: 3.984 kB / 0.7644 GB, free: 12.11 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1542, allocations: 4.328 kB / 0.7644 GB, free: 12.11 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.1545, allocations: 167.5 kB / 0.7646 GB, free: 11.93 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.1545, allocations: 81.06 kB / 0.7647 GB, free: 11.83 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1545, allocations: 7.984 kB / 0.7647 GB, free: 11.82 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.1546, allocations: 8 kB / 0.7647 GB, free: 11.82 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.1546, allocations: 4 kB / 0.7647 GB, free: 11.81 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.1546, allocations: 11.92 kB / 0.7647 GB, free: 11.8 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.945e-05/0.1547, allocations: 87.28 kB / 0.7648 GB, free: 11.71 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.1547, allocations: 0 / 0.7648 GB, free: 11.71 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002012/0.1549, allocations: 11.94 kB / 0.7648 GB, free: 11.7 MB / 0.5763 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.0004781/0.1554, allocations: 0.7123 MB / 0.7655 GB, free: 10.96 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001641/0.1555, allocations: 39.97 kB / 0.7655 GB, free: 10.93 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1555, allocations: 0 / 0.7655 GB, free: 10.93 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 6.831e-05/0.1556, allocations: 23.92 kB / 0.7655 GB, free: 10.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.1558, allocations: 5.656 kB / 0.7655 GB, free: 10.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.1563, allocations: 206.2 kB / 0.7657 GB, free: 10.66 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.1565, allocations: 0.6846 MB / 0.7664 GB, free: 9.945 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.1566, allocations: 0 / 0.7664 GB, free: 9.945 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.1566, allocations: 19.44 kB / 0.7664 GB, free: 9.926 MB / 0.5763 GB Notification: Performance of SimCode: time 3e-07/0.1566, allocations: 0 / 0.7664 GB, free: 9.926 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.1784, allocations: 1.478 MB / 0.7679 GB, free: 8.535 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/7.227, allocations: 12.25 kB / 0.7679 GB, free: 8.527 MB / 0.5763 GB " [Timeout remaining time 653] (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 --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: 10.629153016998316]