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.001294/0.001294, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001507/0.001507, allocations: 219.7 kB / 23 MB, free: 5.004 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9509/0.9509, allocations: 150 MB / 463.2 MB, free: 10.47 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.002216/0.002216, allocations: 70.11 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1856, allocations: 89.16 MB / 0.7284 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002094/0.1877, allocations: 0.6977 MB / 0.7291 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.189, allocations: 0.8978 MB / 0.73 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.1891, allocations: 0 / 0.73 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.1891, allocations: 4 kB / 0.73 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.991e-05/0.1892, allocations: 15.86 kB / 0.73 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.1894, allocations: 19.05 kB / 0.73 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.345e-05/0.1895, allocations: 39.86 kB / 0.73 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.1895, allocations: 11.98 kB / 0.73 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.251e-05/0.1896, allocations: 23.92 kB / 0.7301 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.126e-05/0.1897, allocations: 23.84 kB / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.1897, allocations: 4 kB / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.1897, allocations: 4 kB / 0.7301 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.1897, allocations: 7.938 kB / 0.7301 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.1898, allocations: 19.92 kB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.1899, allocations: 48.03 kB / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1899, allocations: 0 / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1899, allocations: 0 / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.1899, allocations: 0 / 0.7302 GB, free: 15.4 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.0005311/0.1904, allocations: 282.2 kB / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1904, allocations: 12.03 kB / 0.7304 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.1905, allocations: 42.73 kB / 0.7305 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.1905, allocations: 0.9375 kB / 0.7305 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.1906, allocations: 118.4 kB / 0.7306 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1906, allocations: 384 / 0.7306 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.1907, allocations: 4.375 kB / 0.7306 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.1909, allocations: 70.16 kB / 0.7307 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1909, allocations: 3.938 kB / 0.7307 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1909, allocations: 0 / 0.7307 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1909, allocations: 4 kB / 0.7307 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.1912, allocations: 63.92 kB / 0.7307 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.1916, allocations: 244 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.1918, allocations: 58.47 kB / 0.731 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.192, allocations: 40.92 kB / 0.7311 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.192, allocations: 0 / 0.7311 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.192, allocations: 30.56 kB / 0.7311 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.192, allocations: 0 / 0.7311 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005491/0.1926, allocations: 133.5 kB / 0.7312 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.1926, allocations: 55.41 kB / 0.7313 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1927, allocations: 109.8 kB / 0.7314 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.1928, allocations: 25.7 kB / 0.7314 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.1928, allocations: 88.14 kB / 0.7315 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.1928, allocations: 3.953 kB / 0.7315 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.1929, allocations: 21.7 kB / 0.7315 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.193, allocations: 318.8 kB / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1932, allocations: 31.91 kB / 0.7318 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.1933, allocations: 36.14 kB / 0.7319 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.1936, allocations: 76.8 kB / 0.732 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1936, allocations: 0 / 0.732 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003154/0.1939, allocations: 97.58 kB / 0.732 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1939, allocations: 8 kB / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1939, allocations: 3.938 kB / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1939, allocations: 0 / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1941, allocations: 23.98 kB / 0.7321 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1941, allocations: 3.984 kB / 0.7321 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.491e-05/0.1942, allocations: 11.92 kB / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.1942, allocations: 4 kB / 0.7321 GB, free: 13.21 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.718e-05/0.1943, allocations: 109.8 kB / 0.7322 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.1943, allocations: 7.953 kB / 0.7322 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.1943, allocations: 8 kB / 0.7322 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1943, allocations: 0 / 0.7322 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1943, allocations: 4 kB / 0.7322 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1943, allocations: 0 / 0.7322 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.1945, allocations: 144.7 kB / 0.7324 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1945, allocations: 4 kB / 0.7324 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.276e-05/0.1946, allocations: 15.98 kB / 0.7324 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1946, allocations: 0 / 0.7324 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1946, allocations: 0 / 0.7324 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1946, allocations: 4 kB / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1946, allocations: 0 / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.195, allocations: 203.3 kB / 0.7326 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.195, allocations: 7.891 kB / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.195, allocations: 4 kB / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.1952, allocations: 7.984 kB / 0.7326 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.1952, allocations: 7.984 kB / 0.7326 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.1952, allocations: 8 kB / 0.7326 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.955e-05/0.1953, allocations: 83.28 kB / 0.7327 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1953, allocations: 0 / 0.7327 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002381/0.1956, allocations: 11.98 kB / 0.7327 GB, free: 12.52 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.0007635/0.1963, allocations: 0.728 MB / 0.7334 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003236/0.1966, allocations: 63.92 kB / 0.7335 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1966, allocations: 3.938 kB / 0.7335 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.1968, allocations: 43.95 kB / 0.7335 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.1971, allocations: 4 kB / 0.7335 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.1976, allocations: 163 kB / 0.7337 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.1979, allocations: 0.6807 MB / 0.7343 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.613e-05/0.1979, allocations: 4.266 kB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.198, allocations: 23.42 kB / 0.7344 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.198, allocations: 0 / 0.7344 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.2268, allocations: 1.784 MB / 0.7361 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.37, allocations: 7.75 kB / 0.7361 GB, free: 9.07 MB / 0.5606 GB " [Timeout remaining time 649] (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.13854842283763] Failed to read output from testmodel.py, exit status != 0: 11.47584223607555 11.504500465 11.30924797 Calling exit ...