Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001225, allocations: 104.5 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 193.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7452/0.7452, allocations: 115.3 MB / 406.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 62.97 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1709, allocations: 76.18 MB / 0.6316 GB, free: 4.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003895/0.1748, allocations: 2.594 MB / 0.6341 GB, free: 2.336 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1765, allocations: 0.9041 MB / 0.635 GB, free: 1.426 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.1768, allocations: 11.94 kB / 0.635 GB, free: 1.414 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.177, allocations: 63.39 kB / 0.635 GB, free: 1.352 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.1772, allocations: 59.41 kB / 0.6351 GB, free: 1.293 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005145/0.1777, allocations: 237.9 kB / 0.6353 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004246/0.1782, allocations: 455.7 kB / 0.6358 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000348/0.1785, allocations: 237.1 kB / 0.636 GB, free: 388 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.1787, allocations: 151.3 kB / 0.6361 GB, free: 236 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.1789, allocations: 147.2 kB / 0.6363 GB, free: 88 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.1789, allocations: 52 kB / 0.6363 GB, free: 36 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.578e-05/0.179, allocations: 48.05 kB / 0.6364 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.178e-05/0.1791, allocations: 83.67 kB / 0.6365 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.1793, allocations: 195 kB / 0.6366 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006591/0.1799, allocations: 0.6188 MB / 0.6372 GB, free: 15.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.18, allocations: 0 / 0.6372 GB, free: 15.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.18, allocations: 4 kB / 0.6372 GB, free: 15.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.924e-06/0.18, allocations: 4 kB / 0.6373 GB, free: 15.09 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009885/0.181, allocations: 0.6351 MB / 0.6379 GB, free: 14.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.181, allocations: 12.03 kB / 0.6379 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.819e-05/0.1811, allocations: 62.72 kB / 0.6379 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.1812, allocations: 40.47 kB / 0.638 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005366/0.1817, allocations: 399.2 kB / 0.6384 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.1818, allocations: 20.94 kB / 0.6384 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.684e-05/0.1818, allocations: 24.38 kB / 0.6384 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.1824, allocations: 333.5 kB / 0.6387 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1824, allocations: 3.938 kB / 0.6387 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.1825, allocations: 8 kB / 0.6387 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1825, allocations: 11.98 kB / 0.6387 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.1829, allocations: 234.1 kB / 0.639 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.1844, allocations: 1.151 MB / 0.6401 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.1849, allocations: 238.8 kB / 0.6403 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.1851, allocations: 92.83 kB / 0.6404 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1851, allocations: 4 kB / 0.6404 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1852, allocations: 38.56 kB / 0.6404 GB, free: 11.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.1852, allocations: 0 / 0.6404 GB, free: 11.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006457/0.1858, allocations: 295.4 kB / 0.6407 GB, free: 11.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.1859, allocations: 85.05 kB / 0.6408 GB, free: 11.22 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.1863, allocations: 336.4 kB / 0.6411 GB, free: 10.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.1863, allocations: 29.7 kB / 0.6412 GB, free: 10.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.1865, allocations: 196.1 kB / 0.6413 GB, free: 10.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.1865, allocations: 51.27 kB / 0.6414 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-05/0.1866, allocations: 41.7 kB / 0.6414 GB, free: 10.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1867, allocations: 346.8 kB / 0.6418 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.1869, allocations: 88.78 kB / 0.6419 GB, free: 10.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.1871, allocations: 121.3 kB / 0.642 GB, free: 9.988 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.1875, allocations: 195.7 kB / 0.6422 GB, free: 9.789 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1875, allocations: 0 / 0.6422 GB, free: 9.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004497/0.188, allocations: 255.1 kB / 0.6424 GB, free: 9.535 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.188, allocations: 8 kB / 0.6424 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.188, allocations: 0 / 0.6424 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.188, allocations: 0 / 0.6424 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.1882, allocations: 35.92 kB / 0.6424 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1882, allocations: 3.938 kB / 0.6424 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.1884, allocations: 23.73 kB / 0.6425 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.1884, allocations: 8 kB / 0.6425 GB, free: 9.457 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002709/0.1887, allocations: 200.2 kB / 0.6427 GB, free: 9.258 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001419/0.1888, allocations: 99.41 kB / 0.6428 GB, free: 9.148 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002834/0.1891, allocations: 168.2 kB / 0.6429 GB, free: 8.977 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.1891, allocations: 7.922 kB / 0.6429 GB, free: 8.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003709/0.1895, allocations: 233.2 kB / 0.6432 GB, free: 8.734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.956e-06/0.1895, allocations: 4 kB / 0.6432 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.1896, allocations: 0 / 0.6432 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.549e-06/0.1896, allocations: 4 kB / 0.6432 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1897, allocations: 27.98 kB / 0.6432 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1897, allocations: 7.938 kB / 0.6432 GB, free: 8.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.1898, allocations: 11.88 kB / 0.6432 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.1898, allocations: 8 kB / 0.6432 GB, free: 8.672 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001356/0.19, allocations: 199.8 kB / 0.6434 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.1901, allocations: 31.62 kB / 0.6434 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.318e-05/0.1901, allocations: 35.28 kB / 0.6435 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1902, allocations: 0 / 0.6435 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.1902, allocations: 3.938 kB / 0.6435 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1902, allocations: 3.984 kB / 0.6435 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.1906, allocations: 405.3 kB / 0.6439 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1906, allocations: 4 kB / 0.6439 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.1908, allocations: 27.92 kB / 0.6439 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1908, allocations: 0 / 0.6439 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.1909, allocations: 8 kB / 0.6439 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-06/0.1909, allocations: 4 kB / 0.6439 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1909, allocations: 3.938 kB / 0.6439 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.1916, allocations: 433.2 kB / 0.6443 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.1917, allocations: 132.6 kB / 0.6444 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.1917, allocations: 12.06 kB / 0.6445 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.1919, allocations: 7.984 kB / 0.6445 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.192, allocations: 19.86 kB / 0.6445 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.192, allocations: 4 kB / 0.6445 GB, free: 7.277 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002569/0.1923, allocations: 231.1 kB / 0.6447 GB, free: 7.051 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1923, allocations: 0 / 0.6447 GB, free: 7.051 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004035/0.1927, allocations: 91.59 kB / 0.6448 GB, free: 6.961 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0008691/0.1936, allocations: 0.9677 MB / 0.6457 GB, free: 5.969 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005551/0.1941, allocations: 284.1 kB / 0.646 GB, free: 5.691 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1942, allocations: 0 / 0.646 GB, free: 5.691 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.1943, allocations: 94.44 kB / 0.6461 GB, free: 5.602 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.195, allocations: 95.16 kB / 0.6462 GB, free: 5.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.199, allocations: 2.922 MB / 0.649 GB, free: 2.504 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.1993, allocations: 0.7753 MB / 0.6498 GB, free: 1.703 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.1995, allocations: 34.2 kB / 0.6498 GB, free: 1.668 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.1997, allocations: 103.4 kB / 0.6499 GB, free: 1.566 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1997, allocations: 0 / 0.6499 GB, free: 1.566 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04047/0.2402, allocations: 6.747 MB / 0.6565 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.231, allocations: 8.531 kB / 0.6565 GB, free: 10.92 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)