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.00132/0.00132, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001544/0.001544, allocations: 211.2 kB / 23.03 MB, free: 4.887 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 0.9699/0.9699, allocations: 150 MB / 463.2 MB, free: 10.21 MB / 366.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="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: 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.002069/0.002069, allocations: 66.95 kB / 0.6413 GB, free: 9.879 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2129, allocations: 89.17 MB / 0.7284 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001958/0.2148, allocations: 0.6784 MB / 0.7291 GB, free: 108 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.216, allocations: 0.8939 MB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.768e-05/0.216, allocations: 0 / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.2161, allocations: 3.938 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.002e-05/0.2161, allocations: 7.938 kB / 0.7299 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.2163, allocations: 19.92 kB / 0.73 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.797e-05/0.2164, allocations: 51.83 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.2165, allocations: 4 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.568e-05/0.2166, allocations: 19.92 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.155e-05/0.2166, allocations: 15.92 kB / 0.7301 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.2166, allocations: 4 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.2166, allocations: 7.938 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.2167, allocations: 11.98 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.2167, allocations: 11.94 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.2168, allocations: 52.02 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2168, allocations: 0 / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2168, allocations: 4 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.2168, allocations: 0 / 0.7301 GB, free: 14.99 MB / 0.5606 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.000523/0.2173, allocations: 286.2 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2174, allocations: 8.031 kB / 0.7304 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.631e-05/0.2174, allocations: 34.75 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.374e-05/0.2174, allocations: 4.938 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.2176, allocations: 114.4 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2176, allocations: 4.375 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.2176, allocations: 384 / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.2178, allocations: 82.08 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2179, allocations: 3.938 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.2179, allocations: 0 / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2179, allocations: 0 / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.2182, allocations: 67.92 kB / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.2186, allocations: 232 kB / 0.7309 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.2188, allocations: 50.53 kB / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.2189, allocations: 44.86 kB / 0.731 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.2189, allocations: 0 / 0.731 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.219, allocations: 30.56 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.087e-05/0.219, allocations: 7.984 kB / 0.7311 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005592/0.2195, allocations: 133.5 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.2196, allocations: 55.41 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.2197, allocations: 105.8 kB / 0.7314 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.2197, allocations: 25.7 kB / 0.7314 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.2198, allocations: 88.14 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.2198, allocations: 11.94 kB / 0.7315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.2199, allocations: 17.72 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.22, allocations: 314.8 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.2202, allocations: 39.89 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.2203, allocations: 27.97 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.2206, allocations: 76.72 kB / 0.7319 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2206, allocations: 0 / 0.7319 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003336/0.2209, allocations: 101.5 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.221, allocations: 4 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.221, allocations: 0 / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.221, allocations: 0 / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.2211, allocations: 23.97 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2211, allocations: 3.938 kB / 0.7321 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.818e-05/0.2212, allocations: 11.98 kB / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.2212, allocations: 0 / 0.7321 GB, free: 12.82 MB / 0.5606 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 0.0001007/0.2213, allocations: 117.8 kB / 0.7322 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.2213, allocations: 3.953 kB / 0.7322 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.2214, allocations: 8 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2214, allocations: 4 kB / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2214, allocations: 0 / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2214, allocations: 4 kB / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.2216, allocations: 140.7 kB / 0.7323 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2216, allocations: 0 / 0.7323 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.918e-05/0.2217, allocations: 15.98 kB / 0.7323 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2217, allocations: 0 / 0.7323 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.2217, allocations: 0 / 0.7323 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2217, allocations: 3.938 kB / 0.7323 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2217, allocations: 0 / 0.7323 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.2221, allocations: 203.3 kB / 0.7325 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.2221, allocations: 11.89 kB / 0.7326 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.2221, allocations: 0 / 0.7326 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.2222, allocations: 11.98 kB / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.2223, allocations: 7.984 kB / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.2223, allocations: 4 kB / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.2223, allocations: 83.28 kB / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2223, allocations: 0 / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000216/0.2225, allocations: 8 kB / 0.7327 GB, free: 12.13 MB / 0.5606 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.0007215/0.2233, allocations: 0.7245 MB / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.2236, allocations: 71.89 kB / 0.7334 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2236, allocations: 8 kB / 0.7334 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.2238, allocations: 35.95 kB / 0.7335 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.2241, allocations: 9.875 kB / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/0.2246, allocations: 163 kB / 0.7336 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.681e-05/0.2247, allocations: 63.34 kB / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.103e-05/0.2247, allocations: 8 kB / 0.7337 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.2247, allocations: 15.42 kB / 0.7337 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2247, allocations: 0 / 0.7337 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.2577, allocations: 2.236 MB / 0.7359 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.54, allocations: 7.016 kB / 0.7359 GB, free: 8.855 MB / 0.5606 GB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 15.358811090001836] Failed to read output from testmodel.py, exit status != 0: 11.657488816883415 11.672584618 11.45274224 Calling exit ...