Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="BuildingSystems_BuildingSystems_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.0007292/0.0007292, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004434/0.004434, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.237/1.237, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001654, allocations: 274 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8613/0.8613, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004424, allocations: 12.91 kB / 0.5988 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1414, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002492/0.1439, allocations: 2.262 MB / 0.6874 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1451, allocations: 0.8657 MB / 0.6883 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.1452, allocations: 11.94 kB / 0.6883 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.1454, allocations: 52.27 kB / 0.6883 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.1455, allocations: 41.53 kB / 0.6884 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.146, allocations: 215.2 kB / 0.6886 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.1463, allocations: 416.2 kB / 0.689 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.1466, allocations: 219 kB / 0.6892 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.559e-05/0.1467, allocations: 87.45 kB / 0.6893 GB, free: 10.81 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1469, allocations: 99.19 kB / 0.6894 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.1469, allocations: 8.781 kB / 0.6894 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.141e-05/0.1469, allocations: 8 kB / 0.6894 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.147, allocations: 43.16 kB / 0.6894 GB, free: 10.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.1471, allocations: 164.7 kB / 0.6896 GB, free: 10.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004098/0.1475, allocations: 0.5488 MB / 0.6901 GB, free: 9.938 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1475, allocations: 0 / 0.6901 GB, free: 9.938 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1475, allocations: 0 / 0.6901 GB, free: 9.938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1475, allocations: 0 / 0.6901 GB, free: 9.938 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.0007059/0.1482, allocations: 0.5807 MB / 0.6907 GB, free: 9.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1483, allocations: 12.02 kB / 0.6907 GB, free: 9.301 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.33e-05/0.1484, allocations: 58.73 kB / 0.6908 GB, free: 9.234 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.1484, allocations: 48.38 kB / 0.6908 GB, free: 9.188 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.1488, allocations: 371.4 kB / 0.6912 GB, free: 8.789 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.1489, allocations: 28.88 kB / 0.6912 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.1489, allocations: 25.12 kB / 0.6912 GB, free: 8.734 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.1495, allocations: 336 kB / 0.6915 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1495, allocations: 4.531 kB / 0.6915 GB, free: 8.391 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.1495, allocations: 8 kB / 0.6915 GB, free: 8.383 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1495, allocations: 8.656 kB / 0.6916 GB, free: 8.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004678/0.15, allocations: 250.8 kB / 0.6918 GB, free: 8.137 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.1514, allocations: 1.178 MB / 0.6929 GB, free: 6.902 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.1519, allocations: 246.9 kB / 0.6932 GB, free: 6.652 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.1521, allocations: 108.8 kB / 0.6933 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1522, allocations: 0 / 0.6933 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1522, allocations: 34.56 kB / 0.6933 GB, free: 6.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 9.01e-07/0.1522, allocations: 0 / 0.6933 GB, free: 6.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006706/0.1529, allocations: 317.2 kB / 0.6936 GB, free: 6.184 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.1529, allocations: 77.11 kB / 0.6937 GB, free: 6.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.1533, allocations: 332.4 kB / 0.694 GB, free: 5.758 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1533, allocations: 33.7 kB / 0.694 GB, free: 5.719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1534, allocations: 196.1 kB / 0.6942 GB, free: 5.523 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.1535, allocations: 55.2 kB / 0.6943 GB, free: 5.469 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.1535, allocations: 25.7 kB / 0.6943 GB, free: 5.438 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1536, allocations: 338.8 kB / 0.6946 GB, free: 5.098 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.1538, allocations: 91.84 kB / 0.6947 GB, free: 5.008 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.1541, allocations: 133.2 kB / 0.6948 GB, free: 4.867 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.1544, allocations: 208.4 kB / 0.695 GB, free: 4.656 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1544, allocations: 0 / 0.695 GB, free: 4.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004474/0.1549, allocations: 267.1 kB / 0.6953 GB, free: 4.391 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.702e-05/0.1549, allocations: 110.6 kB / 0.6954 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.155, allocations: 3.938 kB / 0.6954 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.155, allocations: 0 / 0.6954 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.1552, allocations: 35.98 kB / 0.6954 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1552, allocations: 4.062 kB / 0.6954 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.1553, allocations: 31.73 kB / 0.6955 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.1553, allocations: 8 kB / 0.6955 GB, free: 4.188 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.37e-06/0.1553, allocations: 4 kB / 0.6955 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002905/0.1556, allocations: 174.3 kB / 0.6957 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-06/0.1557, allocations: 0 / 0.6957 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-06/0.1557, allocations: 4.062 kB / 0.6957 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1558, allocations: 31.92 kB / 0.6957 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-06/0.1558, allocations: 0 / 0.6957 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.1559, allocations: 19.84 kB / 0.6957 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1559, allocations: 4 kB / 0.6957 GB, free: 3.957 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.0001769/0.1561, allocations: 254.3 kB / 0.696 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.1562, allocations: 27.62 kB / 0.696 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.404e-05/0.1562, allocations: 31.28 kB / 0.696 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.1562, allocations: 8 kB / 0.696 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1563, allocations: 0 / 0.696 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1563, allocations: 0 / 0.696 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.1567, allocations: 417.2 kB / 0.6964 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1567, allocations: 0 / 0.6964 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.1568, allocations: 31.98 kB / 0.6964 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1568, allocations: 0 / 0.6964 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1569, allocations: 4 kB / 0.6964 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1569, allocations: 0 / 0.6964 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1569, allocations: 4 kB / 0.6965 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006633/0.1575, allocations: 465.1 kB / 0.6969 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.1577, allocations: 128.7 kB / 0.697 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.1577, allocations: 4 kB / 0.697 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.1579, allocations: 12 kB / 0.697 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.1579, allocations: 7.984 kB / 0.697 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.1579, allocations: 7.938 kB / 0.697 GB, free: 2.496 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002163/0.1581, allocations: 243 kB / 0.6973 GB, free: 2.258 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1582, allocations: 4.062 kB / 0.6973 GB, free: 2.254 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003704/0.1585, allocations: 91.62 kB / 0.6974 GB, free: 2.164 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.0008829/0.1594, allocations: 0.9865 MB / 0.6983 GB, free: 1.152 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000544/0.16, allocations: 299.7 kB / 0.6986 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.16, allocations: 0 / 0.6986 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.1602, allocations: 103.9 kB / 0.6987 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/0.1607, allocations: 86.86 kB / 0.6988 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003876/0.1646, allocations: 3.086 MB / 0.7018 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.1649, allocations: 0.7833 MB / 0.7026 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001203/0.165, allocations: 26.28 kB / 0.7026 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.1652, allocations: 99.41 kB / 0.7027 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1652, allocations: 0 / 0.7027 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3577/0.5228, allocations: 6.183 MB / 0.7087 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.5231, allocations: 219.2 kB / 0.7089 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.465, allocations: 0 / 0.7089 GB, free: 6.332 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)