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.001321/0.001321, allocations: 105 kB / 20.48 MB, free: 1.488 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.001528/0.001528, allocations: 214.9 kB / 23.79 MB, free: 4.703 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.494/1.494, allocations: 230.6 MB / 257.6 MB, free: 8.016 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.041/1.041, allocations: 150 MB / 464 MB, free: 10.53 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="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.002091/0.002091, allocations: 68.92 kB / 0.6421 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2076, allocations: 89.16 MB / 0.7292 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002151/0.2098, allocations: 0.6946 MB / 0.7298 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.211, allocations: 0.8977 MB / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.2111, allocations: 0 / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.2111, allocations: 0 / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.45e-05/0.2112, allocations: 15.86 kB / 0.7307 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.2113, allocations: 11.98 kB / 0.7307 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.2115, allocations: 47.86 kB / 0.7308 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2116, allocations: 15.97 kB / 0.7308 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.74e-05/0.2116, allocations: 11.94 kB / 0.7308 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.2117, allocations: 27.91 kB / 0.7308 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.2117, allocations: 11.88 kB / 0.7309 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.2117, allocations: 4 kB / 0.7309 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.2117, allocations: 8 kB / 0.7309 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.2118, allocations: 11.92 kB / 0.7309 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.945e-05/0.2119, allocations: 52.02 kB / 0.7309 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.2119, allocations: 4 kB / 0.7309 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2119, allocations: 0 / 0.7309 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2119, allocations: 0 / 0.7309 GB, free: 15.45 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.0005346/0.2124, allocations: 288.5 kB / 0.7312 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2125, allocations: 8.031 kB / 0.7312 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.496e-05/0.2125, allocations: 192 / 0.7312 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.2125, allocations: 34.75 kB / 0.7312 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.2125, allocations: 8.922 kB / 0.7313 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2127, allocations: 114.4 kB / 0.7314 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.2127, allocations: 384 / 0.7314 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.2127, allocations: 4.375 kB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.2129, allocations: 77.91 kB / 0.7314 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.213, allocations: 0 / 0.7314 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.213, allocations: 0 / 0.7314 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.213, allocations: 0 / 0.7314 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.2133, allocations: 63.92 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.2137, allocations: 244 kB / 0.7317 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.2139, allocations: 54.47 kB / 0.7318 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.214, allocations: 40.91 kB / 0.7318 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.2141, allocations: 0 / 0.7318 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.2141, allocations: 38.56 kB / 0.7319 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.2141, allocations: 0 / 0.7319 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000564/0.2147, allocations: 129.5 kB / 0.732 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.2147, allocations: 51.41 kB / 0.732 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2148, allocations: 121.8 kB / 0.7321 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.2148, allocations: 25.7 kB / 0.7322 GB, free: 14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.2149, allocations: 84.14 kB / 0.7323 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2149, allocations: 7.953 kB / 0.7323 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.2149, allocations: 21.7 kB / 0.7323 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2151, allocations: 318.8 kB / 0.7326 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.2153, allocations: 31.91 kB / 0.7326 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.2154, allocations: 39.95 kB / 0.7327 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.2157, allocations: 64.78 kB / 0.7327 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2157, allocations: 0 / 0.7327 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003338/0.216, allocations: 101.6 kB / 0.7328 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.216, allocations: 10.81 kB / 0.7328 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.216, allocations: 0 / 0.7328 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.216, allocations: 7.875 kB / 0.7328 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.2162, allocations: 11.98 kB / 0.7328 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.2162, allocations: 4 kB / 0.7328 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/0.2163, allocations: 11.97 kB / 0.7329 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.2163, allocations: 8 kB / 0.7329 GB, free: 13.27 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 8.629e-05/0.2164, allocations: 113.8 kB / 0.733 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.2164, allocations: 11.95 kB / 0.733 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.449e-05/0.2164, allocations: 8 kB / 0.733 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2164, allocations: 0 / 0.733 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2164, allocations: 0 / 0.733 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2164, allocations: 0 / 0.733 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.2166, allocations: 144.7 kB / 0.7331 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2166, allocations: 0 / 0.7331 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.2167, allocations: 19.98 kB / 0.7332 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2167, allocations: 0 / 0.7332 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.2167, allocations: 0 / 0.7332 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.2167, allocations: 0 / 0.7332 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2167, allocations: 0 / 0.7332 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.2171, allocations: 203.3 kB / 0.7333 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.2172, allocations: 11.89 kB / 0.7334 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.2172, allocations: 0 / 0.7334 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.2173, allocations: 11.98 kB / 0.7334 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.2173, allocations: 8.359 kB / 0.7334 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.2173, allocations: 0 / 0.7334 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.934e-05/0.2174, allocations: 83.28 kB / 0.7335 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2174, allocations: 0 / 0.7335 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002161/0.2176, allocations: 8 kB / 0.7335 GB, free: 12.58 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.0007209/0.2183, allocations: 0.7357 MB / 0.7342 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003293/0.2187, allocations: 67.92 kB / 0.7342 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2187, allocations: 3.938 kB / 0.7342 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.2188, allocations: 39.95 kB / 0.7343 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.2191, allocations: 4 kB / 0.7343 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.2196, allocations: 174.8 kB / 0.7345 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.2199, allocations: 0.6807 MB / 0.7351 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.769e-05/0.2199, allocations: 0 / 0.7351 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.22, allocations: 23.36 kB / 0.7351 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.22, allocations: 3.938 kB / 0.7351 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.248, allocations: 1.806 MB / 0.7369 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.41, allocations: 1.812 kB / 0.7369 GB, free: 9.109 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 os._exit(0), Time elapsed: 15.411835012957454] Failed to read output from testmodel.py, exit status != 0: 11.57847893901635 11.60767848 11.390354929 Calling exit ...