Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009935/0.0009935, allocations: 178.4 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 0.5777 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006897/0.0006898, allocations: 88.36 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002846, allocations: 10.16 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1719, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002436/0.1744, allocations: 2.192 MB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1758, allocations: 0.8971 MB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.1761, allocations: 11.94 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.1763, allocations: 43.58 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.1764, allocations: 39.66 kB / 0.9034 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.1769, allocations: 138.3 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.1772, allocations: 383.8 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.1774, allocations: 148.4 kB / 0.904 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.704e-05/0.1775, allocations: 79.45 kB / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1776, allocations: 99.31 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.1777, allocations: 8 kB / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.617e-05/0.1777, allocations: 11.94 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.1777, allocations: 39.77 kB / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.1778, allocations: 89.52 kB / 0.9044 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.1781, allocations: 499 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1781, allocations: 0 / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1781, allocations: 0 / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.1781, allocations: 0 / 0.9048 GB, free: 59.12 MB / 0.6042 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.0007044/0.1788, allocations: 0.5844 MB / 0.9054 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1789, allocations: 8.031 kB / 0.9054 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.134e-05/0.1789, allocations: 66.53 kB / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.523e-05/0.179, allocations: 47.39 kB / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.1794, allocations: 382.2 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.1794, allocations: 24.56 kB / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.1794, allocations: 31.94 kB / 0.9059 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.1799, allocations: 329.3 kB / 0.9063 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.18, allocations: 0 / 0.9063 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.18, allocations: 16 kB / 0.9063 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.18, allocations: 11.94 kB / 0.9063 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.1805, allocations: 250 kB / 0.9065 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.1817, allocations: 1.17 MB / 0.9077 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.1821, allocations: 250.8 kB / 0.9079 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.1823, allocations: 100.8 kB / 0.908 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.1823, allocations: 0 / 0.908 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.1824, allocations: 46.52 kB / 0.908 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.1824, allocations: 0 / 0.908 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0005942/0.183, allocations: 318.5 kB / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.183, allocations: 77.11 kB / 0.9084 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.1833, allocations: 341.7 kB / 0.9087 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1833, allocations: 25.7 kB / 0.9088 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.04e-05/0.1834, allocations: 200.1 kB / 0.909 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.1834, allocations: 59.17 kB / 0.909 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.1834, allocations: 4 kB / 0.909 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.227e-05/0.1835, allocations: 338.8 kB / 0.9093 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.1837, allocations: 87.97 kB / 0.9094 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.1839, allocations: 120.8 kB / 0.9095 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.1841, allocations: 98.61 kB / 0.9096 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1841, allocations: 3.953 kB / 0.9096 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004155/0.1845, allocations: 273.1 kB / 0.9099 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.1845, allocations: 102.7 kB / 0.91 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1845, allocations: 0 / 0.91 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1846, allocations: 0 / 0.91 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.1848, allocations: 35.98 kB / 0.91 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1848, allocations: 8.047 kB / 0.91 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.1849, allocations: 27.73 kB / 0.9101 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.1849, allocations: 12 kB / 0.9101 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.501e-06/0.185, allocations: 4 kB / 0.9101 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002751/0.1852, allocations: 170.2 kB / 0.9102 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.1853, allocations: 3.953 kB / 0.9103 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/0.1853, allocations: 8.062 kB / 0.9103 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1854, allocations: 23.98 kB / 0.9103 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.1854, allocations: 7.938 kB / 0.9103 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.1855, allocations: 27.73 kB / 0.9103 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1855, allocations: 4 kB / 0.9103 GB, free: 53.23 MB / 0.6042 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.oveWriSet_activate,expMod.oveWriAct_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.1857, allocations: 245 kB / 0.9106 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.1857, allocations: 31.62 kB / 0.9106 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.078e-05/0.1858, allocations: 39.17 kB / 0.9106 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1858, allocations: 4 kB / 0.9106 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1858, allocations: 0 / 0.9106 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1858, allocations: 4 kB / 0.9106 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.1861, allocations: 405.4 kB / 0.911 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1861, allocations: 0 / 0.911 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.1863, allocations: 27.98 kB / 0.911 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1863, allocations: 3.938 kB / 0.911 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.1863, allocations: 7.984 kB / 0.9111 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1863, allocations: 3.953 kB / 0.9111 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1863, allocations: 7.984 kB / 0.9111 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005828/0.1869, allocations: 455 kB / 0.9115 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.078e-05/0.187, allocations: 132.6 kB / 0.9116 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.1871, allocations: 0 / 0.9116 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.1872, allocations: 19.98 kB / 0.9116 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.1873, allocations: 11.94 kB / 0.9117 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1873, allocations: 12 kB / 0.9117 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001844/0.1875, allocations: 231.2 kB / 0.9119 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1875, allocations: 4 kB / 0.9119 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003441/0.1878, allocations: 91.69 kB / 0.912 GB, free: 51.43 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007336/0.1886, allocations: 0.9841 MB / 0.9129 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005126/0.1891, allocations: 295.8 kB / 0.9132 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1891, allocations: 0 / 0.9132 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.1893, allocations: 100.2 kB / 0.9133 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.1898, allocations: 85.94 kB / 0.9134 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.1925, allocations: 1.834 MB / 0.9152 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.1927, allocations: 0.7716 MB / 0.9159 GB, free: 47.28 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.1929, allocations: 30.28 kB / 0.916 GB, free: 47.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.193, allocations: 107.3 kB / 0.9161 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/0.193, allocations: 0 / 0.9161 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.2082, allocations: 6.121 MB / 0.9221 GB, free: 41.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.2085, allocations: 215.9 kB / 0.9223 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.34, allocations: 0 / 0.9223 GB, free: 40.96 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)