Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.0008158/0.0008158, allocations: 76.5 kB / 19.92 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.0008189/0.0008189, allocations: 177.2 kB / 23.21 MB, free: 1.344 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.8759/0.8759, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5551/0.5551, allocations: 114 MB / 373.9 MB, free: 8.711 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.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.5542 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.709e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001494/0.001511, allocations: 0.5438 MB / 0.5547 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 4.231e-05/0.001553, allocations: 0 / 0.5547 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.001581, allocations: 0 / 0.5547 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.001609, allocations: 4 kB / 0.5547 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.586e-05/0.001635, allocations: 4 kB / 0.5547 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 3.099e-05/0.001666, allocations: 0 / 0.5547 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.022e-05/0.001726, allocations: 0 / 0.5547 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.001777, allocations: 0 / 0.5547 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.521e-05/0.001812, allocations: 4 kB / 0.5547 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 1.913e-05/0.001831, allocations: 0 / 0.5547 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.001854, allocations: 0 / 0.5547 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 3.727e-06/0.001858, allocations: 0 / 0.5547 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.001872, allocations: 3.938 kB / 0.5547 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.00189, allocations: 4 kB / 0.5547 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 6.07e-05/0.001951, allocations: 11.97 kB / 0.5548 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.001954, allocations: 4 kB / 0.5548 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.82e-07/0.001955, allocations: 0 / 0.5548 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.001959, allocations: 0 / 0.5548 GB, free: 2.23 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002578/0.002217, allocations: 234.4 kB / 0.555 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.00226, allocations: 8.625 kB / 0.555 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.291e-05/0.002293, allocations: 30.75 kB / 0.555 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.962e-05/0.002312, allocations: 0.9375 kB / 0.555 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.318e-05/0.002406, allocations: 113.8 kB / 0.5551 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.002416, allocations: 384 / 0.5551 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.002425, allocations: 4.375 kB / 0.5551 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.75e-05/0.002503, allocations: 34.27 kB / 0.5552 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.002511, allocations: 192 / 0.5552 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.002518, allocations: 384 / 0.5552 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.002524, allocations: 4.125 kB / 0.5552 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.504e-05/0.002539, allocations: 0 / 0.5552 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.002829, allocations: 354.5 kB / 0.5555 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.477e-05/0.002903, allocations: 173.2 kB / 0.5557 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.002932, allocations: 80.14 kB / 0.5557 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.002955, allocations: 79.22 kB / 0.5558 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.002996, allocations: 113.8 kB / 0.5559 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.002997, allocations: 8 kB / 0.5559 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 6.499e-05/0.003062, allocations: 29.64 kB / 0.556 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.003115, allocations: 126.7 kB / 0.5561 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.897e-05/0.003184, allocations: 97.84 kB / 0.5562 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.003194, allocations: 25.7 kB / 0.5562 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.003219, allocations: 80.14 kB / 0.5563 GB, free: 500 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.003221, allocations: 3.938 kB / 0.5563 GB, free: 496 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.003244, allocations: 13.72 kB / 0.5563 GB, free: 476 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.003335, allocations: 314.8 kB / 0.5566 GB, free: 152 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-06/0.003339, allocations: 128 / 0.5566 GB, free: 152 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-06/0.003343, allocations: 4 kB / 0.5566 GB, free: 148 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.003367, allocations: 75.28 kB / 0.5567 GB, free: 72 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-05/0.0034, allocations: 75.28 kB / 0.5567 GB, free: 16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.424e-05/0.003455, allocations: 41.53 kB / 0.5568 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.003487, allocations: 79.28 kB / 0.5569 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.003512, allocations: 79.28 kB / 0.5569 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.191e-05/0.003564, allocations: 154.5 kB / 0.5571 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.086e-05/0.003585, allocations: 79.22 kB / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.091e-05/0.003626, allocations: 158.6 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.38e-05/0.003689, allocations: 79.22 kB / 0.5574 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.003711, allocations: 79.28 kB / 0.5575 GB, free: 15.25 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 (0): * Single equations (assignments): 0 * 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 8.626e-05/0.003798, allocations: 260.4 kB / 0.5577 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.003849, allocations: 116.9 kB / 0.5578 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.003886, allocations: 104.1 kB / 0.5579 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-05/0.003935, allocations: 184.5 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.033e-05/0.003985, allocations: 180.2 kB / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.577e-05/0.004031, allocations: 180.3 kB / 0.5584 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.004214, allocations: 376.2 kB / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-05/0.004242, allocations: 105 kB / 0.5589 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.808e-05/0.00427, allocations: 105 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.726e-05/0.004318, allocations: 188.1 kB / 0.5592 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.004366, allocations: 180.2 kB / 0.5594 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.846e-05/0.004414, allocations: 184.2 kB / 0.5595 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.583e-05/0.00446, allocations: 176.3 kB / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.004565, allocations: 303.8 kB / 0.56 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.004601, allocations: 112.9 kB / 0.5601 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/0.004659, allocations: 184.2 kB / 0.5603 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.619e-05/0.004726, allocations: 105 kB / 0.5604 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.004776, allocations: 180.3 kB / 0.5605 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.004806, allocations: 108.9 kB / 0.5606 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.424e-05/0.00484, allocations: 91.2 kB / 0.5607 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.00484, allocations: 0 / 0.5607 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002862/0.005126, allocations: 3.938 kB / 0.5607 GB, free: 11.7 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 (0): * Single equations (assignments): 0 * 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.0002949/0.005421, allocations: 0.797 MB / 0.5615 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 3.907e-05/0.00546, allocations: 11.92 kB / 0.5615 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.005462, allocations: 0 / 0.5615 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.005463, allocations: 0 / 0.5615 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.00579, allocations: 455.7 kB / 0.562 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008802/0.00667, allocations: 1.525 MB / 0.5635 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.648e-05/0.006716, allocations: 55.36 kB / 0.5635 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.662e-06/0.006723, allocations: 0 / 0.5635 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.006748, allocations: 8.5 kB / 0.5635 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of SimCode: time 5.71e-07/0.006748, allocations: 0 / 0.5635 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.0208, allocations: 1.539 MB / 0.565 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.678/6.699, allocations: 4.781 kB / 0.565 GB, free: 7.328 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.259791319258511] Failed to read output from testmodel.py, exit status != 0: 6.777473282068968 6.785791507 6.78206435 Calling exit ...