Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_8_Buildings_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.00096/0.0009599, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000929/0.000929, allocations: 195.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.145/1.145, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.521/1.521, allocations: 292.3 MB / 0.5489 GB, free: 12.8 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 70.33 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.158, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00324/0.1613, allocations: 2.628 MB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1625, allocations: 0.9515 MB / 0.787 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.1627, allocations: 11.94 kB / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.1629, allocations: 71.38 kB / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.163, allocations: 59.34 kB / 0.7871 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.1634, allocations: 235.2 kB / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.1637, allocations: 455.6 kB / 0.7878 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.164, allocations: 233.3 kB / 0.788 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1641, allocations: 151.4 kB / 0.7881 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1643, allocations: 143.2 kB / 0.7883 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.666e-05/0.1643, allocations: 55.94 kB / 0.7883 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.43e-05/0.1644, allocations: 48 kB / 0.7884 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.1644, allocations: 91.69 kB / 0.7885 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.1646, allocations: 195 kB / 0.7886 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.165, allocations: 0.6037 MB / 0.7892 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.165, allocations: 0 / 0.7892 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.165, allocations: 0 / 0.7892 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.165, allocations: 4 kB / 0.7892 GB, free: 7.449 MB / 0.6075 GB 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.0007458/0.1658, allocations: 0.6467 MB / 0.7899 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.1658, allocations: 8.031 kB / 0.7899 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.49e-05/0.1659, allocations: 62.72 kB / 0.7899 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.1659, allocations: 40.47 kB / 0.79 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.1663, allocations: 399.2 kB / 0.7903 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.1663, allocations: 24.94 kB / 0.7904 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.1664, allocations: 28.38 kB / 0.7904 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004677/0.1668, allocations: 325.5 kB / 0.7907 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1669, allocations: 0 / 0.7907 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.1669, allocations: 8 kB / 0.7907 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1669, allocations: 12 kB / 0.7907 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00041/0.1673, allocations: 238.1 kB / 0.791 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.1685, allocations: 1.166 MB / 0.7921 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.169, allocations: 238.7 kB / 0.7923 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.1691, allocations: 104.8 kB / 0.7924 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1692, allocations: 4 kB / 0.7924 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.1692, allocations: 30.56 kB / 0.7925 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.1692, allocations: 0 / 0.7925 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0005557/0.1698, allocations: 299.4 kB / 0.7927 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.1698, allocations: 85.11 kB / 0.7928 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.1701, allocations: 345.6 kB / 0.7932 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1701, allocations: 29.7 kB / 0.7932 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1702, allocations: 196.1 kB / 0.7934 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.1703, allocations: 55.23 kB / 0.7934 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.354e-05/0.1704, allocations: 41.7 kB / 0.7935 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1705, allocations: 338.8 kB / 0.7938 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.1706, allocations: 88.83 kB / 0.7939 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.1708, allocations: 122.1 kB / 0.794 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.1711, allocations: 201.9 kB / 0.7942 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1712, allocations: 0 / 0.7942 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003937/0.1716, allocations: 249.1 kB / 0.7944 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.1716, allocations: 4 kB / 0.7944 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1716, allocations: 4 kB / 0.7944 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.976e-06/0.1716, allocations: 0 / 0.7944 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1717, allocations: 35.97 kB / 0.7945 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1718, allocations: 11.94 kB / 0.7945 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1719, allocations: 23.75 kB / 0.7945 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.1719, allocations: 7.984 kB / 0.7945 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002024/0.1721, allocations: 200.1 kB / 0.7947 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001339/0.1723, allocations: 99.41 kB / 0.7948 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002222/0.1725, allocations: 169.3 kB / 0.7949 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.91e-07/0.1725, allocations: 0 / 0.7949 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003117/0.1728, allocations: 229.1 kB / 0.7952 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-06/0.1728, allocations: 4 kB / 0.7952 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-06/0.1728, allocations: 0 / 0.7952 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-06/0.1728, allocations: 4 kB / 0.7952 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1729, allocations: 23.98 kB / 0.7952 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.173, allocations: 12 kB / 0.7952 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.1732, allocations: 19.81 kB / 0.7952 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.1733, allocations: 4 kB / 0.7952 GB, free: 1.004 MB / 0.6075 GB 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.000146/0.1734, allocations: 192.2 kB / 0.7954 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.679e-05/0.1735, allocations: 35.61 kB / 0.7954 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.889e-05/0.1736, allocations: 31.28 kB / 0.7955 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1736, allocations: 0 / 0.7955 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1736, allocations: 3.938 kB / 0.7955 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.1736, allocations: 0 / 0.7955 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.1741, allocations: 425.2 kB / 0.7959 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1741, allocations: 0 / 0.7959 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.1743, allocations: 27.92 kB / 0.7959 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1743, allocations: 0 / 0.7959 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1743, allocations: 4 kB / 0.7959 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1743, allocations: 4 kB / 0.7959 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1743, allocations: 3.938 kB / 0.7959 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006329/0.175, allocations: 435 kB / 0.7963 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.1751, allocations: 132.7 kB / 0.7965 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.1751, allocations: 4 kB / 0.7965 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.1753, allocations: 8 kB / 0.7965 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.1754, allocations: 15.86 kB / 0.7965 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.1754, allocations: 8 kB / 0.7965 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002128/0.1756, allocations: 243.2 kB / 0.7967 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1756, allocations: 4 kB / 0.7967 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003576/0.176, allocations: 91.59 kB / 0.7968 GB, free: 15.27 MB / 0.6231 GB 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.0007988/0.1768, allocations: 0.9686 MB / 0.7978 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005354/0.1773, allocations: 290.8 kB / 0.798 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1773, allocations: 0 / 0.798 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.1775, allocations: 99.84 kB / 0.7981 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.178, allocations: 98.31 kB / 0.7982 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.1813, allocations: 2.951 MB / 0.8011 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.1816, allocations: 0.7753 MB / 0.8019 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.1817, allocations: 34.28 kB / 0.8019 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.1818, allocations: 99.41 kB / 0.802 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of SimCode: time 1.333e-06/0.1818, allocations: 3.938 kB / 0.802 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.816/1.998, allocations: 6.597 MB / 0.8084 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/13.42, allocations: 15.62 kB / 0.8085 GB, free: 3.344 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)