Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 112.2 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.001367/0.001367, allocations: 190.6 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.304/1.304, allocations: 225.6 MB / 249.3 MB, free: 3.324 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.9827/0.9827, 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.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 68.12 kB / 0.6678 GB, free: 10.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1555, allocations: 94.53 MB / 0.7601 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003095/0.1586, allocations: 1.898 MB / 0.7619 GB, free: 14.96 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.004413/0.163, allocations: 3.641 MB / 0.7655 GB, free: 11.3 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.78e-05/0.1631, allocations: 0 / 0.7655 GB, free: 11.3 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0007233/0.1639, allocations: 191.2 kB / 0.7657 GB, free: 11.11 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.1641, allocations: 83.41 kB / 0.7657 GB, free: 11.03 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 7.312e-05/0.1641, allocations: 27.95 kB / 0.7658 GB, free: 11 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0004459/0.1646, allocations: 255.2 kB / 0.766 GB, free: 10.75 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 8.894e-05/0.1647, allocations: 25.53 kB / 0.766 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.1648, allocations: 79.69 kB / 0.7661 GB, free: 10.65 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.1649, allocations: 83.56 kB / 0.7662 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.165, allocations: 8 kB / 0.7662 GB, free: 10.56 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-05/0.1651, allocations: 23.98 kB / 0.7662 GB, free: 10.54 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 7.14e-05/0.1651, allocations: 63.73 kB / 0.7663 GB, free: 10.47 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 9.177e-05/0.1652, allocations: 87.42 kB / 0.7664 GB, free: 10.39 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.1655, allocations: 187 kB / 0.7665 GB, free: 10.2 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1655, allocations: 0 / 0.7665 GB, free: 10.2 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1655, allocations: 0 / 0.7665 GB, free: 10.2 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.1655, allocations: 4 kB / 0.7665 GB, free: 10.2 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000877/0.1663, allocations: 0.537 MB / 0.7671 GB, free: 9.613 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1664, allocations: 8.031 kB / 0.7671 GB, free: 9.605 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.1664, allocations: 46.72 kB / 0.7671 GB, free: 9.551 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.1665, allocations: 24.75 kB / 0.7671 GB, free: 9.527 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.1668, allocations: 247.8 kB / 0.7674 GB, free: 9.246 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1668, allocations: 11.94 kB / 0.7674 GB, free: 9.234 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.1668, allocations: 4 kB / 0.7674 GB, free: 9.23 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.1672, allocations: 145.4 kB / 0.7675 GB, free: 9.082 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1672, allocations: 0 / 0.7675 GB, free: 9.082 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1672, allocations: 3.984 kB / 0.7675 GB, free: 9.078 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/0.1673, allocations: 12 kB / 0.7675 GB, free: 9.066 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.1677, allocations: 143.8 kB / 0.7677 GB, free: 8.926 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006824/0.1684, allocations: 456.5 kB / 0.7681 GB, free: 8.43 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.1688, allocations: 164 kB / 0.7683 GB, free: 8.262 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.169, allocations: 97.03 kB / 0.7684 GB, free: 8.164 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.1691, allocations: 7.984 kB / 0.7684 GB, free: 8.156 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1691, allocations: 38.5 kB / 0.7684 GB, free: 8.109 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.1691, allocations: 4 kB / 0.7684 GB, free: 8.105 MB / 0.5763 GB Notification: Performance of matching and sorting (n=13): time 0.0008147/0.1699, allocations: 289.4 kB / 0.7687 GB, free: 7.816 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.17, allocations: 59.34 kB / 0.7687 GB, free: 7.746 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.1702, allocations: 242.7 kB / 0.769 GB, free: 7.5 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1702, allocations: 33.7 kB / 0.769 GB, free: 7.461 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 8.88e-05/0.1703, allocations: 136.1 kB / 0.7691 GB, free: 7.324 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.1703, allocations: 43.58 kB / 0.7692 GB, free: 7.281 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.1704, allocations: 33.7 kB / 0.7692 GB, free: 7.242 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1705, allocations: 330.8 kB / 0.7695 GB, free: 6.91 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.1708, allocations: 79.94 kB / 0.7696 GB, free: 6.832 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.171, allocations: 79.44 kB / 0.7697 GB, free: 6.758 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.1714, allocations: 168.7 kB / 0.7698 GB, free: 6.59 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1714, allocations: 4 kB / 0.7698 GB, free: 6.586 MB / 0.5763 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005301/0.172, allocations: 213.4 kB / 0.7701 GB, free: 6.371 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.172, allocations: 6.188 kB / 0.7701 GB, free: 6.367 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.172, allocations: 3.938 kB / 0.7701 GB, free: 6.363 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.172, allocations: 0 / 0.7701 GB, free: 6.363 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.1722, allocations: 39.97 kB / 0.7701 GB, free: 6.324 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1722, allocations: 7.875 kB / 0.7701 GB, free: 6.316 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.1724, allocations: 27.92 kB / 0.7701 GB, free: 6.289 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1724, allocations: 0 / 0.7701 GB, free: 6.289 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 (13): * Single equations (assignments): 13 * 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 0.0001224/0.1725, allocations: 137.8 kB / 0.7703 GB, free: 6.145 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.1726, allocations: 19.86 kB / 0.7703 GB, free: 6.125 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.985e-05/0.1726, allocations: 33.81 kB / 0.7703 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1726, allocations: 4 kB / 0.7703 GB, free: 6.086 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1727, allocations: 7.938 kB / 0.7703 GB, free: 6.078 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1727, allocations: 3.938 kB / 0.7703 GB, free: 6.074 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.1729, allocations: 273.5 kB / 0.7706 GB, free: 5.758 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1729, allocations: 0 / 0.7706 GB, free: 5.758 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.1732, allocations: 31.97 kB / 0.7706 GB, free: 5.727 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1732, allocations: 0 / 0.7706 GB, free: 5.727 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.1732, allocations: 11.94 kB / 0.7706 GB, free: 5.715 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.1732, allocations: 3.984 kB / 0.7706 GB, free: 5.711 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1732, allocations: 3.938 kB / 0.7706 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/0.1738, allocations: 318.9 kB / 0.7709 GB, free: 5.383 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 9.71e-05/0.1739, allocations: 113 kB / 0.7711 GB, free: 5.254 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.1739, allocations: 3.984 kB / 0.7711 GB, free: 5.25 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.1741, allocations: 15.98 kB / 0.7711 GB, free: 5.234 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.1741, allocations: 15.92 kB / 0.7711 GB, free: 5.219 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.1741, allocations: 4 kB / 0.7711 GB, free: 5.215 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001548/0.1743, allocations: 182 kB / 0.7713 GB, free: 5.035 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.1743, allocations: 0 / 0.7713 GB, free: 5.035 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002657/0.1746, allocations: 43.89 kB / 0.7713 GB, free: 4.992 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 (13): * Single equations (assignments): 13 * 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.0009233/0.1755, allocations: 0.8645 MB / 0.7721 GB, free: 4.102 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0005088/0.176, allocations: 171.8 kB / 0.7723 GB, free: 3.934 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.176, allocations: 0 / 0.7723 GB, free: 3.934 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.1762, allocations: 83.92 kB / 0.7724 GB, free: 3.852 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.1767, allocations: 69.88 kB / 0.7725 GB, free: 3.785 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.18, allocations: 2.412 MB / 0.7748 GB, free: 1.297 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.1803, allocations: 0.7435 MB / 0.7755 GB, free: 0.5273 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.1805, allocations: 49.38 kB / 0.7756 GB, free: 492 kB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.1806, allocations: 59.41 kB / 0.7756 GB, free: 432 kB / 0.5763 GB Notification: Performance of SimCode: time 3.41e-07/0.1806, allocations: 4 kB / 0.7756 GB, free: 428 kB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.2079, allocations: 4.82 MB / 0.7804 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/7.524, allocations: 16.94 kB / 0.7804 GB, free: 11.72 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.022958062996622]