Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.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.00164/0.00164, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001786/0.001786, allocations: 209 kB / 22.99 MB, free: 4.977 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.575/1.575, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.052/1.052, allocations: 149.9 MB / 463.1 MB, free: 10.34 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.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",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.002067/0.002067, allocations: 66.3 kB / 0.641 GB, free: 10.18 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1803, allocations: 89.17 MB / 0.7281 GB, free: 1.082 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.001746/0.182, allocations: 0.5823 MB / 0.7287 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 4.882e-05/0.1821, allocations: 8 kB / 0.7287 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.604e-05/0.1821, allocations: 0 / 0.7287 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.1821, allocations: 0 / 0.7287 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.829e-06/0.1821, allocations: 0 / 0.7287 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.364e-05/0.1822, allocations: 7.938 kB / 0.7287 GB, free: 496 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.547e-05/0.1822, allocations: 3.984 kB / 0.7287 GB, free: 492 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.1823, allocations: 4 kB / 0.7287 GB, free: 488 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.144e-05/0.1823, allocations: 0 / 0.7287 GB, free: 488 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.736e-05/0.1823, allocations: 0 / 0.7287 GB, free: 488 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.1823, allocations: 0 / 0.7287 GB, free: 488 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.517e-06/0.1823, allocations: 0 / 0.7287 GB, free: 488 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.1823, allocations: 0 / 0.7287 GB, free: 488 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.1823, allocations: 0 / 0.7287 GB, free: 488 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.652e-05/0.1824, allocations: 11.92 kB / 0.7287 GB, free: 476 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1824, allocations: 0 / 0.7287 GB, free: 476 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1824, allocations: 0 / 0.7287 GB, free: 476 kB / 0.545 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.1824, allocations: 8 kB / 0.7287 GB, free: 468 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002742/0.1827, allocations: 230.7 kB / 0.729 GB, free: 204 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1827, allocations: 12.06 kB / 0.729 GB, free: 192 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/0.1827, allocations: 30.75 kB / 0.729 GB, free: 152 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.826e-05/0.1828, allocations: 0.9375 kB / 0.729 GB, free: 152 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.436e-05/0.1828, allocations: 102.5 kB / 0.7291 GB, free: 24 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1829, allocations: 4.375 kB / 0.7291 GB, free: 20 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.1829, allocations: 384 / 0.7291 GB, free: 20 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.732e-05/0.183, allocations: 34.2 kB / 0.7291 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.183, allocations: 3.938 kB / 0.7291 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.183, allocations: 7.938 kB / 0.7291 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.183, allocations: 0 / 0.7291 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.111e-05/0.183, allocations: 7.938 kB / 0.7292 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.1831, allocations: 120.7 kB / 0.7293 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.623e-05/0.1832, allocations: 22.61 kB / 0.7293 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.1832, allocations: 4.859 kB / 0.7293 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.1832, allocations: 0 / 0.7293 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.1833, allocations: 38.62 kB / 0.7293 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.1833, allocations: 0 / 0.7293 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001147/0.1834, allocations: 41.58 kB / 0.7294 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.1834, allocations: 51.41 kB / 0.7294 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.829e-05/0.1835, allocations: 89.86 kB / 0.7295 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1835, allocations: 25.7 kB / 0.7295 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.1835, allocations: 88.14 kB / 0.7296 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.1835, allocations: 7.938 kB / 0.7296 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.1836, allocations: 9.719 kB / 0.7296 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1837, allocations: 310.8 kB / 0.7299 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.1837, allocations: 4 kB / 0.7299 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-06/0.1837, allocations: 0 / 0.7299 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/0.1837, allocations: 13.05 kB / 0.7299 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1837, allocations: 0 / 0.7299 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.157e-05/0.1838, allocations: 37.64 kB / 0.73 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1838, allocations: 4 kB / 0.73 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.1838, allocations: 3.938 kB / 0.73 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1838, allocations: 4 kB / 0.73 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.214e-05/0.1839, allocations: 3.984 kB / 0.73 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1839, allocations: 0 / 0.73 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.006e-06/0.1839, allocations: 0 / 0.73 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.1839, allocations: 0 / 0.73 GB, free: 14.97 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 (1): * Single equations (assignments): 1 * 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 7.104e-05/0.184, allocations: 113.9 kB / 0.7301 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.184, allocations: 3.984 kB / 0.7301 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.906e-05/0.184, allocations: 6.938 kB / 0.7301 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.184, allocations: 0 / 0.7301 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.184, allocations: 0 / 0.7301 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.184, allocations: 0 / 0.7301 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.739e-05/0.1841, allocations: 124.8 kB / 0.7302 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1841, allocations: 3.938 kB / 0.7302 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-06/0.1841, allocations: 0 / 0.7302 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1841, allocations: 0 / 0.7302 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1841, allocations: 3.938 kB / 0.7302 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1841, allocations: 11.94 kB / 0.7303 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1841, allocations: 0 / 0.7303 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.852e-05/0.1842, allocations: 53.08 kB / 0.7303 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.1842, allocations: 11.98 kB / 0.7303 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.1842, allocations: 3.938 kB / 0.7303 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-06/0.1842, allocations: 0 / 0.7303 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.1842, allocations: 0 / 0.7303 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-06/0.1842, allocations: 0 / 0.7303 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.308e-05/0.1843, allocations: 75.28 kB / 0.7304 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1843, allocations: 0 / 0.7304 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001921/0.1845, allocations: 8.031 kB / 0.7304 GB, free: 14.49 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 (1): * Single equations (assignments): 1 * 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.0003872/0.1848, allocations: 0.59 MB / 0.731 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.579e-05/0.1849, allocations: 4 kB / 0.731 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1849, allocations: 0 / 0.731 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.969e-06/0.1849, allocations: 4 kB / 0.731 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.185, allocations: 2.031 kB / 0.731 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.1854, allocations: 110.6 kB / 0.7311 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.111e-05/0.1854, allocations: 63.5 kB / 0.7312 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.302e-05/0.1854, allocations: 0 / 0.7312 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.1854, allocations: 7.438 kB / 0.7312 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.1854, allocations: 0 / 0.7312 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.2129, allocations: 1.381 MB / 0.7325 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.39, allocations: 3.5 kB / 0.7325 GB, free: 12.37 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.357538217213005] Failed to read output from testmodel.py, exit status != 0: 11.4923448972404 11.508523714 11.322910816 Calling exit ...