Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001371/0.001371, allocations: 113.1 kB / 17.54 MB, free: 4.641 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.001397/0.001397, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.315/1.315, allocations: 225.6 MB / 249.3 MB, free: 3.34 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 1.009/1.009, allocations: 175.7 MB / 480.1 MB, free: 2.797 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.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 75.38 kB / 0.6678 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1547, allocations: 94.53 MB / 0.7601 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003314/0.158, allocations: 2.071 MB / 0.7621 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005027/0.163, allocations: 4.12 MB / 0.7661 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.1631, allocations: 0 / 0.7661 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007201/0.1638, allocations: 199.1 kB / 0.7663 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.164, allocations: 63.42 kB / 0.7664 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.1646, allocations: 267.3 kB / 0.7666 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005559/0.1652, allocations: 378.8 kB / 0.767 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1653, allocations: 32.39 kB / 0.767 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.1654, allocations: 107.6 kB / 0.7671 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.1656, allocations: 139.4 kB / 0.7672 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.1657, allocations: 16 kB / 0.7673 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004859/0.1661, allocations: 315.5 kB / 0.7676 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1663, allocations: 99.69 kB / 0.7677 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.1664, allocations: 143.1 kB / 0.7678 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006136/0.167, allocations: 0.5136 MB / 0.7683 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.167, allocations: 4 kB / 0.7683 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.167, allocations: 0 / 0.7683 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.167, allocations: 0 / 0.7683 GB, free: 8.344 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001334/0.1684, allocations: 0.7618 MB / 0.769 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1684, allocations: 16.02 kB / 0.7691 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.1684, allocations: 42.75 kB / 0.7691 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/0.1685, allocations: 36.7 kB / 0.7691 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.169, allocations: 338.6 kB / 0.7695 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.169, allocations: 3.938 kB / 0.7695 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.169, allocations: 12 kB / 0.7695 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004943/0.1695, allocations: 201.4 kB / 0.7697 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1695, allocations: 0 / 0.7697 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.1696, allocations: 0 / 0.7697 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1696, allocations: 4 kB / 0.7697 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007023/0.1703, allocations: 243.8 kB / 0.7699 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000956/0.1712, allocations: 0.59 MB / 0.7705 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.1717, allocations: 174.4 kB / 0.7706 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003625/0.172, allocations: 128.8 kB / 0.7708 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.141e-05/0.1721, allocations: 23.98 kB / 0.7708 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.1721, allocations: 30.56 kB / 0.7708 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.1721, allocations: 4 kB / 0.7708 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001234/0.1733, allocations: 449.3 kB / 0.7713 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.1734, allocations: 55.41 kB / 0.7713 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/0.1738, allocations: 405.6 kB / 0.7717 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.1738, allocations: 33.7 kB / 0.7717 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.174, allocations: 180 kB / 0.7719 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.174, allocations: 39.62 kB / 0.7719 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.1741, allocations: 45.69 kB / 0.772 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1742, allocations: 342.8 kB / 0.7723 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.1746, allocations: 167.9 kB / 0.7725 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.1751, allocations: 171.9 kB / 0.7726 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008053/0.1759, allocations: 344 kB / 0.773 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1759, allocations: 3.938 kB / 0.773 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009581/0.1768, allocations: 484.4 kB / 0.7734 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/0.1769, allocations: 45.69 kB / 0.7735 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1769, allocations: 0 / 0.7735 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1769, allocations: 3.938 kB / 0.7735 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.1772, allocations: 43.95 kB / 0.7735 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.1772, allocations: 4 kB / 0.7735 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.1774, allocations: 39.84 kB / 0.7736 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.1775, allocations: 11.98 kB / 0.7736 GB, free: 2.688 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001503/0.1776, allocations: 157.7 kB / 0.7737 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.1777, allocations: 35.77 kB / 0.7738 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008878/0.1786, allocations: 344.5 kB / 0.7741 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1786, allocations: 0 / 0.7741 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1786, allocations: 3.938 kB / 0.7741 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1786, allocations: 3.984 kB / 0.7741 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.179, allocations: 345.5 kB / 0.7744 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.179, allocations: 0 / 0.7744 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.1792, allocations: 43.94 kB / 0.7745 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1792, allocations: 3.938 kB / 0.7745 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.1792, allocations: 7.938 kB / 0.7745 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1792, allocations: 0 / 0.7745 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1792, allocations: 0 / 0.7745 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008412/0.1801, allocations: 419.1 kB / 0.7749 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.1802, allocations: 128.8 kB / 0.775 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.1803, allocations: 15.88 kB / 0.775 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.1805, allocations: 27.95 kB / 0.775 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.1806, allocations: 19.92 kB / 0.7751 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.1806, allocations: 3.984 kB / 0.7751 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002832/0.1809, allocations: 287.1 kB / 0.7753 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1809, allocations: 0 / 0.7753 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004085/0.1813, allocations: 115.8 kB / 0.7754 GB, free: 0.6758 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 (11): * Single equations (assignments): 11 * 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.001395/0.1827, allocations: 1.033 MB / 0.7764 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009584/0.1836, allocations: 467 kB / 0.7769 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1836, allocations: 0 / 0.7769 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003777/0.184, allocations: 135.9 kB / 0.777 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.1845, allocations: 57.53 kB / 0.7771 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/0.1902, allocations: 4.194 MB / 0.7812 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.1906, allocations: 0.7827 MB / 0.7819 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001671/0.1907, allocations: 49.5 kB / 0.782 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.1909, allocations: 107.3 kB / 0.7821 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.1909, allocations: 0 / 0.7821 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03395/0.2248, allocations: 8.334 MB / 0.7902 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/7.901, allocations: 8.688 kB / 0.7902 GB, free: 1.512 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.435522262996528]