Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.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.001238/0.001238, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.001451/0.001451, allocations: 169.9 kB / 23.21 MB, free: 1.359 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.9052/0.9052, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.5594/0.5594, 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.Reals.Validation.Modulo,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.839e-06/4.839e-06, allocations: 0 / 0.5542 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.432e-05, allocations: 9.391 kB / 0.5543 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002225/0.002259, allocations: 0.6867 MB / 0.5549 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.003582, allocations: 0.8861 MB / 0.5558 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.003628, allocations: 0 / 0.5558 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.003663, allocations: 3.938 kB / 0.5558 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.44e-05/0.003748, allocations: 11.86 kB / 0.5558 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.003975, allocations: 23.91 kB / 0.5558 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.004078, allocations: 39.86 kB / 0.5559 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.004197, allocations: 15.98 kB / 0.5559 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.004303, allocations: 19.98 kB / 0.5559 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/0.004363, allocations: 19.92 kB / 0.5559 GB, free: 1 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.004399, allocations: 4 kB / 0.5559 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-06/0.004409, allocations: 0 / 0.5559 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.004432, allocations: 15.97 kB / 0.5559 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.004462, allocations: 8 kB / 0.5559 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.004572, allocations: 47.8 kB / 0.556 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.004576, allocations: 0 / 0.556 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/0.004577, allocations: 0 / 0.556 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.004582, allocations: 0 / 0.556 GB, free: 0.9258 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005004/0.005083, allocations: 290.2 kB / 0.5563 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.005131, allocations: 8.625 kB / 0.5563 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.005173, allocations: 34.75 kB / 0.5563 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.005204, allocations: 8.875 kB / 0.5563 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.005308, allocations: 109.8 kB / 0.5564 GB, free: 428 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.005321, allocations: 384 / 0.5564 GB, free: 428 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.005334, allocations: 8.375 kB / 0.5564 GB, free: 420 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.005578, allocations: 70.22 kB / 0.5565 GB, free: 344 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.005588, allocations: 192 / 0.5565 GB, free: 344 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.005599, allocations: 4.375 kB / 0.5565 GB, free: 340 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.005606, allocations: 8.062 kB / 0.5565 GB, free: 332 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.005839, allocations: 67.86 kB / 0.5566 GB, free: 264 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.006251, allocations: 232 kB / 0.5568 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.006434, allocations: 50.55 kB / 0.5568 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.006553, allocations: 44.91 kB / 0.5569 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.00658, allocations: 3.938 kB / 0.5569 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.006606, allocations: 38.44 kB / 0.5569 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.715e-06/0.006609, allocations: 3.984 kB / 0.5569 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0004835/0.007092, allocations: 129.6 kB / 0.5571 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.007135, allocations: 55.39 kB / 0.5571 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.153e-05/0.007227, allocations: 105.9 kB / 0.5572 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.007241, allocations: 29.69 kB / 0.5572 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.007292, allocations: 92.09 kB / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.007314, allocations: 7.891 kB / 0.5573 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.007354, allocations: 17.72 kB / 0.5573 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.007477, allocations: 314.8 kB / 0.5576 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.007595, allocations: 35.97 kB / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.007707, allocations: 35.89 kB / 0.5577 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.007924, allocations: 64.8 kB / 0.5578 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.007926, allocations: 0 / 0.5578 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003022/0.008228, allocations: 109.5 kB / 0.5579 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.008247, allocations: 4 kB / 0.5579 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.008253, allocations: 0 / 0.5579 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.008269, allocations: 4 kB / 0.5579 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.00839, allocations: 11.98 kB / 0.5579 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.008397, allocations: 0 / 0.5579 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.424e-05/0.008461, allocations: 19.98 kB / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.00847, allocations: 0 / 0.5579 GB, free: 14.75 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 (3): * Single equations (assignments): 3 * 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.87e-05/0.008559, allocations: 113.8 kB / 0.558 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.008587, allocations: 7.922 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.008622, allocations: 12 kB / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.00863, allocations: 0 / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.008636, allocations: 0 / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.008639, allocations: 0 / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.008799, allocations: 128.8 kB / 0.5582 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.008801, allocations: 0 / 0.5582 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.524e-05/0.008886, allocations: 23.92 kB / 0.5582 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.008891, allocations: 3.984 kB / 0.5582 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.0089, allocations: 4 kB / 0.5582 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.008902, allocations: 0 / 0.5582 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.008904, allocations: 0 / 0.5582 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.00922, allocations: 191.4 kB / 0.5584 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.009234, allocations: 15.81 kB / 0.5584 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.009249, allocations: 4 kB / 0.5584 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.009349, allocations: 15.97 kB / 0.5584 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.009402, allocations: 11.94 kB / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.009408, allocations: 0 / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.069e-05/0.009458, allocations: 87.27 kB / 0.5585 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.009458, allocations: 4 kB / 0.5585 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002695/0.009728, allocations: 4 kB / 0.5585 GB, free: 14.06 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 (3): * Single equations (assignments): 3 * 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.0006908/0.01042, allocations: 0.7283 MB / 0.5592 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.01072, allocations: 75.89 kB / 0.5593 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01072, allocations: 0 / 0.5593 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.01085, allocations: 31.97 kB / 0.5593 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.01122, allocations: 12.53 kB / 0.5593 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.01179, allocations: 142.6 kB / 0.5595 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.665e-05/0.01186, allocations: 71.27 kB / 0.5596 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.741e-05/0.01189, allocations: 4 kB / 0.5596 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.01195, allocations: 12.5 kB / 0.5596 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/0.01195, allocations: 0 / 0.5596 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.03146, allocations: 2.38 MB / 0.5619 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.887/6.918, allocations: 10.03 kB / 0.5619 GB, free: 10.67 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo_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_Reals_Validation_Modulo.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.507039061747491] Failed to read output from testmodel.py, exit status != 0: 7.000374105758965 7.012136288 7.005549715 Calling exit ...