Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.0008386/0.0008386, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0008675/0.0008675, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.8888/0.8888, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.5541/0.5541, allocations: 114 MB / 373.9 MB, free: 8.684 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.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.25e-05, allocations: 6.109 kB / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002663/0.002686, allocations: 1.996 MB / 0.5561 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003617/0.006303, allocations: 3.888 MB / 0.5599 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.006415, allocations: 3.938 kB / 0.5599 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007544/0.00717, allocations: 191 kB / 0.5601 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.219e-05/0.007262, allocations: 67.36 kB / 0.5602 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.007767, allocations: 311.1 kB / 0.5605 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000444/0.008211, allocations: 406.7 kB / 0.5609 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.008307, allocations: 32.58 kB / 0.5609 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.00846, allocations: 151.7 kB / 0.561 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.008568, allocations: 103.6 kB / 0.5611 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.008593, allocations: 16 kB / 0.5612 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.008947, allocations: 315.4 kB / 0.5615 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.677e-05/0.009034, allocations: 107.7 kB / 0.5616 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.495e-05/0.009109, allocations: 91.7 kB / 0.5617 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007298/0.009839, allocations: 0.5764 MB / 0.5622 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.009842, allocations: 0 / 0.5622 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.483e-06/0.009843, allocations: 0 / 0.5622 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.009848, allocations: 0 / 0.5622 GB, free: 10.53 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008382/0.01069, allocations: 0.7041 MB / 0.5629 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.01073, allocations: 12.62 kB / 0.5629 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.01076, allocations: 34.75 kB / 0.5629 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005355/0.01129, allocations: 168.5 kB / 0.5631 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.01175, allocations: 292 kB / 0.5634 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.01176, allocations: 8.312 kB / 0.5634 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.01178, allocations: 12.12 kB / 0.5634 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.01211, allocations: 209.5 kB / 0.5636 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.01212, allocations: 0 / 0.5636 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.01213, allocations: 7.938 kB / 0.5636 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.01214, allocations: 0 / 0.5636 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/0.01256, allocations: 259.8 kB / 0.5639 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007056/0.01326, allocations: 0.55 MB / 0.5644 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.01353, allocations: 174.5 kB / 0.5646 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.01375, allocations: 136.8 kB / 0.5647 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-05/0.0138, allocations: 20.2 kB / 0.5647 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.01382, allocations: 42.5 kB / 0.5648 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.01382, allocations: 0 / 0.5648 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0007829/0.01461, allocations: 465.2 kB / 0.5652 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.01464, allocations: 55.34 kB / 0.5652 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.01493, allocations: 421.9 kB / 0.5657 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.01495, allocations: 25.7 kB / 0.5657 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.748e-05/0.01505, allocations: 188 kB / 0.5659 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.01508, allocations: 35.69 kB / 0.5659 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.01514, allocations: 41.69 kB / 0.5659 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.01524, allocations: 350.8 kB / 0.5663 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.01551, allocations: 221.5 kB / 0.5665 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.01576, allocations: 218.1 kB / 0.5667 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/0.01623, allocations: 381.8 kB / 0.567 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01623, allocations: 0 / 0.567 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005912/0.01682, allocations: 0.5239 MB / 0.5676 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/0.01686, allocations: 41.69 kB / 0.5676 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01687, allocations: 0 / 0.5676 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.01689, allocations: 4 kB / 0.5676 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.01708, allocations: 51.94 kB / 0.5677 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.01708, allocations: 3.938 kB / 0.5677 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.01722, allocations: 35.86 kB / 0.5677 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.01724, allocations: 7.984 kB / 0.5677 GB, free: 4.676 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 (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.0001232/0.01736, allocations: 157.8 kB / 0.5678 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.0174, allocations: 39.72 kB / 0.5679 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.01799, allocations: 372.7 kB / 0.5682 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.01799, allocations: 4 kB / 0.5682 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.018, allocations: 7.922 kB / 0.5683 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.018, allocations: 0 / 0.5683 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.01827, allocations: 296.5 kB / 0.5685 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01827, allocations: 0 / 0.5685 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.01842, allocations: 47.88 kB / 0.5686 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.01843, allocations: 4 kB / 0.5686 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.01844, allocations: 11.98 kB / 0.5686 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01844, allocations: 0 / 0.5686 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.01845, allocations: 7.938 kB / 0.5686 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007673/0.01921, allocations: 442.1 kB / 0.569 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.499e-05/0.0193, allocations: 51.73 kB / 0.5691 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.01933, allocations: 4 kB / 0.5691 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.01946, allocations: 31.95 kB / 0.5691 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.01952, allocations: 15.92 kB / 0.5691 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.01953, allocations: 7.984 kB / 0.5691 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001964/0.01973, allocations: 291.1 kB / 0.5694 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01973, allocations: 0 / 0.5694 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003406/0.02007, allocations: 119.8 kB / 0.5695 GB, free: 2.734 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 (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.0009234/0.02099, allocations: 1.048 MB / 0.5705 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006115/0.0216, allocations: 480.7 kB / 0.571 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.02161, allocations: 4 kB / 0.571 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.02183, allocations: 135.9 kB / 0.5711 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.02219, allocations: 65.53 kB / 0.5712 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/0.02643, allocations: 4.427 MB / 0.5755 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.02656, allocations: 191.1 kB / 0.5757 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001923/0.02676, allocations: 57.92 kB / 0.5758 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.02689, allocations: 112.4 kB / 0.5759 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of SimCode: time 1.402e-06/0.02689, allocations: 0 / 0.5759 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.05151, allocations: 9.6 MB / 0.5852 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.38/7.432, allocations: 6.656 kB / 0.5853 GB, free: 2.699 MB / 0.5417 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.002338514663279] Failed to read output from testmodel.py, exit status != 0: 7.514899209141731 7.524534212 7.512787839 Calling exit ...