Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001311/0.001311, 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.001422/0.001422, 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.491/1.491, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.08/1.08, allocations: 150 MB / 460.2 MB, free: 5.215 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.Discrete.Validation.FirstOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold",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.001995/0.001995, allocations: 68.39 kB / 0.6368 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1788, allocations: 89.13 MB / 0.7238 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002244/0.1811, allocations: 0.6736 MB / 0.7245 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1827, allocations: 1.118 MB / 0.7256 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/0.1828, allocations: 0 / 0.7256 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.1828, allocations: 7.938 kB / 0.7256 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.415e-05/0.1829, allocations: 7.922 kB / 0.7256 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.1833, allocations: 51.81 kB / 0.7256 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1834, allocations: 71.84 kB / 0.7257 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.751e-05/0.1835, allocations: 7.984 kB / 0.7257 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.239e-05/0.1836, allocations: 23.92 kB / 0.7257 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.64e-05/0.1837, allocations: 43.83 kB / 0.7258 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.1837, allocations: 4 kB / 0.7258 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.719e-05/0.1838, allocations: 27.92 kB / 0.7258 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.1838, allocations: 15.98 kB / 0.7258 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.1838, allocations: 27.84 kB / 0.7258 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.184, allocations: 79.97 kB / 0.7259 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.184, allocations: 3.938 kB / 0.7259 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.963e-06/0.1841, allocations: 0 / 0.7259 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.1841, allocations: 4 kB / 0.7259 GB, free: 1.832 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008359/0.1849, allocations: 387.2 kB / 0.7263 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.115e-05/0.185, allocations: 16.02 kB / 0.7263 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.776e-05/0.185, allocations: 192 / 0.7263 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.185, allocations: 34.75 kB / 0.7264 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.1851, allocations: 8.891 kB / 0.7264 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.1853, allocations: 172.4 kB / 0.7265 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.1854, allocations: 4.375 kB / 0.7265 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.1854, allocations: 4.375 kB / 0.7265 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.1857, allocations: 93.3 kB / 0.7266 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.1857, allocations: 3.938 kB / 0.7266 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.1857, allocations: 7.984 kB / 0.7266 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1857, allocations: 0 / 0.7266 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.1859, allocations: 51.95 kB / 0.7267 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/0.1865, allocations: 308.7 kB / 0.727 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.1868, allocations: 78.47 kB / 0.7271 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.1869, allocations: 40.83 kB / 0.7271 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.1869, allocations: 0 / 0.7271 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002766/0.1872, allocations: 99.34 kB / 0.7272 GB, free: 380 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.1872, allocations: 0 / 0.7272 GB, free: 380 kB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0005963/0.1878, allocations: 162 kB / 0.7273 GB, free: 212 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.1878, allocations: 63.39 kB / 0.7274 GB, free: 136 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.188, allocations: 121.8 kB / 0.7275 GB, free: 4 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.188, allocations: 33.8 kB / 0.7275 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.1881, allocations: 88.31 kB / 0.7276 GB, free: 15.87 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.1881, allocations: 27.78 kB / 0.7277 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.1882, allocations: 29.72 kB / 0.7277 GB, free: 15.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1883, allocations: 322.8 kB / 0.728 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1885, allocations: 39.91 kB / 0.728 GB, free: 15.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.1886, allocations: 63.95 kB / 0.7281 GB, free: 15.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.1889, allocations: 102.6 kB / 0.7282 GB, free: 15.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1889, allocations: 0 / 0.7282 GB, free: 15.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003485/0.1892, allocations: 141.5 kB / 0.7283 GB, free: 15.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.1893, allocations: 6.031 kB / 0.7283 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1893, allocations: 0 / 0.7283 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1893, allocations: 7.938 kB / 0.7283 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.1894, allocations: 19.97 kB / 0.7284 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1894, allocations: 4 kB / 0.7284 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.641e-05/0.1895, allocations: 11.95 kB / 0.7284 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.1895, allocations: 4 kB / 0.7284 GB, free: 15.07 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001148/0.1896, allocations: 141.7 kB / 0.7285 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.1896, allocations: 0 / 0.7285 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.19, allocations: 149.9 kB / 0.7287 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.19, allocations: 0 / 0.7287 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.19, allocations: 0 / 0.7287 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.19, allocations: 0 / 0.7287 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005926/0.1906, allocations: 414.3 kB / 0.7291 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1906, allocations: 0 / 0.7291 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.636e-05/0.1907, allocations: 15.98 kB / 0.7291 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1907, allocations: 0 / 0.7291 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1907, allocations: 0 / 0.7291 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1907, allocations: 0 / 0.7291 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.1907, allocations: 3.938 kB / 0.7291 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.1911, allocations: 243.5 kB / 0.7293 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.1912, allocations: 77.11 kB / 0.7294 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.1912, allocations: 8 kB / 0.7294 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1913, allocations: 7.984 kB / 0.7294 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.1914, allocations: 11.92 kB / 0.7294 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1914, allocations: 8.25 kB / 0.7294 GB, free: 13.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.529e-05/0.1914, allocations: 87.27 kB / 0.7295 GB, free: 13.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1914, allocations: 4 kB / 0.7295 GB, free: 13.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002612/0.1917, allocations: 20 kB / 0.7295 GB, free: 13.79 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: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007653/0.1925, allocations: 0.767 MB / 0.7303 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003533/0.1928, allocations: 103.8 kB / 0.7304 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1928, allocations: 0 / 0.7304 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.193, allocations: 39.97 kB / 0.7304 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1932, allocations: 13.83 kB / 0.7304 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.1952, allocations: 1.511 MB / 0.7319 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.1956, allocations: 0.6845 MB / 0.7326 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.367e-05/0.1956, allocations: 20.36 kB / 0.7326 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.1957, allocations: 19.44 kB / 0.7326 GB, free: 10.5 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.1957, allocations: 0 / 0.7326 GB, free: 10.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.2149, allocations: 2.095 MB / 0.7346 GB, free: 8.547 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.322, allocations: 20.05 kB / 0.7347 GB, free: 8.531 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.362866665993351] Failed to read output from testmodel.py, exit status != 0: 8.452448419004213 8.483960101 8.294126456 Calling exit ...