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.00134/0.00134, allocations: 118.8 kB / 17.84 MB, free: 5.234 MB / 14.72 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.001599/0.001599, allocations: 202.3 kB / 20.79 MB, free: 2.297 MB / 14.72 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 1.659/1.659, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 1.011/1.011, allocations: 150 MB / 460.2 MB, free: 5.695 MB / 350.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 64.97 kB / 0.6369 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2039, allocations: 89.13 MB / 0.7239 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002057/0.206, allocations: 0.6905 MB / 0.7246 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.2072, allocations: 0.9021 MB / 0.7255 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.077e-05/0.2073, allocations: 0 / 0.7255 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.733e-05/0.2073, allocations: 7.938 kB / 0.7255 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.539e-05/0.2074, allocations: 11.94 kB / 0.7255 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.2076, allocations: 11.98 kB / 0.7255 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2077, allocations: 55.77 kB / 0.7255 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2078, allocations: 4 kB / 0.7255 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.034e-05/0.2079, allocations: 19.92 kB / 0.7256 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.491e-05/0.2079, allocations: 19.92 kB / 0.7256 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.2079, allocations: 4 kB / 0.7256 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.208, allocations: 4 kB / 0.7256 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.208, allocations: 7.984 kB / 0.7256 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.208, allocations: 23.88 kB / 0.7256 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.2081, allocations: 48.06 kB / 0.7257 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2081, allocations: 0 / 0.7257 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2081, allocations: 0 / 0.7257 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.2081, allocations: 0 / 0.7257 GB, free: 2.203 MB / 0.5294 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.0006083/0.2087, allocations: 359.3 kB / 0.726 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2088, allocations: 8.031 kB / 0.726 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.432e-05/0.2088, allocations: 4.188 kB / 0.726 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.2088, allocations: 38.75 kB / 0.7261 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.348e-05/0.2089, allocations: 0.9375 kB / 0.7261 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.209, allocations: 180.2 kB / 0.7262 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.2091, allocations: 384 / 0.7262 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.2091, allocations: 4.375 kB / 0.7262 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.2094, allocations: 69.97 kB / 0.7263 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2094, allocations: 0 / 0.7263 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.2094, allocations: 7.938 kB / 0.7263 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2094, allocations: 0 / 0.7263 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.2097, allocations: 63.92 kB / 0.7264 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.2102, allocations: 272.8 kB / 0.7266 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.2104, allocations: 56.42 kB / 0.7267 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.2106, allocations: 36.92 kB / 0.7267 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.2106, allocations: 4 kB / 0.7267 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.2107, allocations: 34.5 kB / 0.7268 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.2107, allocations: 0 / 0.7268 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0006252/0.2113, allocations: 137.5 kB / 0.7269 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.2114, allocations: 51.41 kB / 0.7269 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.2115, allocations: 109.8 kB / 0.727 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.2115, allocations: 25.7 kB / 0.7271 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.2116, allocations: 84.14 kB / 0.7271 GB, free: 488 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.2116, allocations: 15.91 kB / 0.7272 GB, free: 472 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.2116, allocations: 17.7 kB / 0.7272 GB, free: 448 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.2118, allocations: 318.8 kB / 0.7275 GB, free: 120 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.212, allocations: 27.97 kB / 0.7275 GB, free: 92 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.2121, allocations: 35.95 kB / 0.7275 GB, free: 56 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.2124, allocations: 72.78 kB / 0.7276 GB, free: 15.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2124, allocations: 0 / 0.7276 GB, free: 15.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003445/0.2128, allocations: 97.56 kB / 0.7277 GB, free: 15.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2128, allocations: 4 kB / 0.7277 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2128, allocations: 4 kB / 0.7277 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2128, allocations: 4.328 kB / 0.7277 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.213, allocations: 11.98 kB / 0.7277 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.213, allocations: 3.984 kB / 0.7277 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.213, allocations: 15.98 kB / 0.7277 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.2131, allocations: 0 / 0.7277 GB, free: 15.84 MB / 0.545 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 9.954e-05/0.2132, allocations: 113.8 kB / 0.7279 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.2132, allocations: 3.953 kB / 0.7279 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.2132, allocations: 19.89 kB / 0.7279 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2132, allocations: 0 / 0.7279 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2132, allocations: 0 / 0.7279 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2132, allocations: 0 / 0.7279 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.2134, allocations: 181.5 kB / 0.728 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2134, allocations: 0 / 0.728 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.2135, allocations: 15.98 kB / 0.7281 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2135, allocations: 0 / 0.7281 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.2135, allocations: 0 / 0.7281 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2136, allocations: 3.938 kB / 0.7281 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2136, allocations: 4 kB / 0.7281 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.214, allocations: 199.3 kB / 0.7283 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.214, allocations: 89 kB / 0.7283 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.214, allocations: 0 / 0.7283 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.2142, allocations: 15.98 kB / 0.7284 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.2142, allocations: 3.984 kB / 0.7284 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.2142, allocations: 0 / 0.7284 GB, free: 15.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.2143, allocations: 87.28 kB / 0.7284 GB, free: 15.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2143, allocations: 0 / 0.7284 GB, free: 15.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002241/0.2145, allocations: 8 kB / 0.7285 GB, free: 15 MB / 0.545 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.0008404/0.2153, allocations: 0.728 MB / 0.7292 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003873/0.2157, allocations: 67.92 kB / 0.7292 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2157, allocations: 4 kB / 0.7292 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.2159, allocations: 35.95 kB / 0.7293 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.2162, allocations: 13.19 kB / 0.7293 GB, free: 14.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/0.2168, allocations: 163 kB / 0.7294 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.2172, allocations: 0.6807 MB / 0.7301 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.264e-05/0.2173, allocations: 4 kB / 0.7301 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.2173, allocations: 15.42 kB / 0.7301 GB, free: 13.21 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.2173, allocations: 0 / 0.7301 GB, free: 13.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.2362, allocations: 1.719 MB / 0.7318 GB, free: 11.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/8.429, allocations: 10.5 kB / 0.7318 GB, free: 11.6 MB / 0.545 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 12.599339429987594] Failed to read output from testmodel.py, exit status != 0: 8.577027693972923 8.592952546 8.38183926 Calling exit ...