Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9131/0.9131, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5668/0.5668, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5542 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.243e-05, allocations: 8.516 kB / 0.5542 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002608/0.00263, allocations: 1.846 MB / 0.556 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003302/0.005933, allocations: 3.448 MB / 0.5594 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.006073, allocations: 0 / 0.5594 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008462/0.006919, allocations: 187 kB / 0.5595 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.007127, allocations: 71.53 kB / 0.5596 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.00725, allocations: 59.86 kB / 0.5597 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.007693, allocations: 282.9 kB / 0.5599 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.007795, allocations: 29.78 kB / 0.56 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.007927, allocations: 99.72 kB / 0.5601 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.008033, allocations: 63.81 kB / 0.5601 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.008052, allocations: 8 kB / 0.5601 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.562e-05/0.008128, allocations: 27.97 kB / 0.5602 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.008188, allocations: 59.77 kB / 0.5602 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.00824, allocations: 55.84 kB / 0.5603 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.008459, allocations: 203.2 kB / 0.5605 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.008461, allocations: 0 / 0.5605 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.062e-06/0.008463, allocations: 4 kB / 0.5605 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.008468, allocations: 0 / 0.5605 GB, free: 12.29 MB / 0.5261 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.0006583/0.009126, allocations: 476.8 kB / 0.5609 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.009171, allocations: 12.03 kB / 0.5609 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.009208, allocations: 34.73 kB / 0.561 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004736/0.009681, allocations: 120.7 kB / 0.5611 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.01007, allocations: 217.8 kB / 0.5613 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.01008, allocations: 8.375 kB / 0.5613 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.0101, allocations: 8.125 kB / 0.5613 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.01036, allocations: 161.5 kB / 0.5615 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.01036, allocations: 3.938 kB / 0.5615 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.01038, allocations: 0 / 0.5615 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.0104, allocations: 11.98 kB / 0.5615 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005173/0.01092, allocations: 163.8 kB / 0.5616 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.01143, allocations: 423.7 kB / 0.562 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.01169, allocations: 170.5 kB / 0.5622 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.01184, allocations: 108.8 kB / 0.5623 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.01186, allocations: 0 / 0.5623 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.01188, allocations: 34.56 kB / 0.5623 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.01188, allocations: 0 / 0.5623 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0005245/0.0124, allocations: 321.5 kB / 0.5626 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.01244, allocations: 59.41 kB / 0.5627 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.01261, allocations: 256.2 kB / 0.5629 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.01263, allocations: 25.7 kB / 0.563 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.0127, allocations: 152 kB / 0.5631 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.01273, allocations: 35.66 kB / 0.5631 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.01278, allocations: 37.69 kB / 0.5632 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.01289, allocations: 334.8 kB / 0.5635 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.01302, allocations: 79.92 kB / 0.5636 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.01315, allocations: 90.67 kB / 0.5637 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.01341, allocations: 176.7 kB / 0.5638 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01342, allocations: 3.938 kB / 0.5638 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003188/0.01373, allocations: 241.4 kB / 0.5641 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.01375, allocations: 4 kB / 0.5641 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01375, allocations: 0 / 0.5641 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.01377, allocations: 0 / 0.5641 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.01392, allocations: 35.97 kB / 0.5641 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.01392, allocations: 0 / 0.5641 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-05/0.01401, allocations: 31.8 kB / 0.5641 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.01403, allocations: 8 kB / 0.5641 GB, free: 8.328 MB / 0.5261 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 9.249e-05/0.01412, allocations: 137.7 kB / 0.5643 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.01415, allocations: 23.86 kB / 0.5643 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.01419, allocations: 33.8 kB / 0.5643 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01419, allocations: 0 / 0.5643 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.01419, allocations: 0 / 0.5643 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.0142, allocations: 4 kB / 0.5643 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.0144, allocations: 236.5 kB / 0.5646 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.0144, allocations: 4 kB / 0.5646 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.01451, allocations: 35.97 kB / 0.5646 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.686e-06/0.01452, allocations: 0 / 0.5646 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.01453, allocations: 7.984 kB / 0.5646 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01453, allocations: 3.938 kB / 0.5646 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.01453, allocations: 4 kB / 0.5646 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.0149, allocations: 349.6 kB / 0.5649 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.01495, allocations: 35.83 kB / 0.565 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.01497, allocations: 0 / 0.565 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.602e-05/0.01507, allocations: 15.98 kB / 0.565 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.01512, allocations: 7.984 kB / 0.565 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.01513, allocations: 7.984 kB / 0.565 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001116/0.01524, allocations: 191 kB / 0.5652 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01524, allocations: 0 / 0.5652 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001856/0.01542, allocations: 39.94 kB / 0.5652 GB, free: 7.148 MB / 0.5261 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.0005562/0.01598, allocations: 0.8684 MB / 0.5661 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.0163, allocations: 191 kB / 0.5663 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0163, allocations: 3.938 kB / 0.5663 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.01645, allocations: 95.92 kB / 0.5664 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.01677, allocations: 55.27 kB / 0.5664 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.01924, allocations: 2.469 MB / 0.5688 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.01934, allocations: 140.1 kB / 0.5689 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001636/0.01951, allocations: 57.45 kB / 0.569 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.01961, allocations: 68.47 kB / 0.5691 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/0.01961, allocations: 0 / 0.5691 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.04141, allocations: 5.944 MB / 0.5749 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.043, allocations: 15.2 kB / 0.5749 GB, free: 13.36 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.550995671190321] Failed to read output from testmodel.py, exit status != 0: 7.125476939603686 7.135865105 7.125259777 Calling exit ...