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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8956/0.8956, allocations: 143.4 MB / 159.2 MB, free: 4.875 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 184.5 kB / 191.9 MB, free: 5.715 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 447.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 119.5 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002879/0.002878, allocations: 280.5 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001638, allocations: 71.89 kB / 0.6885 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3436, allocations: 81.3 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003122/0.3468, allocations: 2.64 MB / 0.7705 GB, free: 25 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3479, allocations: 0.8961 MB / 0.7714 GB, free: 24.09 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.348, allocations: 11.94 kB / 0.7714 GB, free: 24.08 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.3482, allocations: 39.66 kB / 0.7714 GB, free: 24.04 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.3484, allocations: 47.59 kB / 0.7715 GB, free: 24 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.3488, allocations: 214.7 kB / 0.7717 GB, free: 23.79 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.3491, allocations: 415.6 kB / 0.7721 GB, free: 23.38 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.3494, allocations: 223.8 kB / 0.7723 GB, free: 23.16 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.556e-05/0.3495, allocations: 111.3 kB / 0.7724 GB, free: 23.05 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.3496, allocations: 123.2 kB / 0.7725 GB, free: 22.93 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.3496, allocations: 16 kB / 0.7725 GB, free: 22.92 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.867e-05/0.3496, allocations: 16 kB / 0.7725 GB, free: 22.9 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.3497, allocations: 55.7 kB / 0.7726 GB, free: 22.85 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.981e-05/0.3498, allocations: 163 kB / 0.7728 GB, free: 22.69 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.3501, allocations: 0.5724 MB / 0.7733 GB, free: 22.11 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3501, allocations: 0 / 0.7733 GB, free: 22.11 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3501, allocations: 0 / 0.7733 GB, free: 22.11 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.3501, allocations: 0 / 0.7733 GB, free: 22.11 MB / 458.7 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.0008105/0.3509, allocations: 0.6429 MB / 0.7739 GB, free: 21.42 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.351, allocations: 12.03 kB / 0.774 GB, free: 21.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.351, allocations: 44.41 kB / 0.774 GB, free: 21.37 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.3514, allocations: 387.2 kB / 0.7744 GB, free: 20.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.3514, allocations: 20.94 kB / 0.7744 GB, free: 20.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.3515, allocations: 24.38 kB / 0.7744 GB, free: 20.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.352, allocations: 325.7 kB / 0.7747 GB, free: 20.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.352, allocations: 4 kB / 0.7747 GB, free: 20.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.3521, allocations: 15.94 kB / 0.7747 GB, free: 20.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.3521, allocations: 11.98 kB / 0.7747 GB, free: 20.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.3525, allocations: 230.2 kB / 0.775 GB, free: 20.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.3536, allocations: 1.17 MB / 0.7761 GB, free: 19.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.354, allocations: 230.8 kB / 0.7763 GB, free: 18.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.3542, allocations: 100.8 kB / 0.7764 GB, free: 18.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.3542, allocations: 0 / 0.7764 GB, free: 18.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.3543, allocations: 30.56 kB / 0.7765 GB, free: 18.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/0.3543, allocations: 4 kB / 0.7765 GB, free: 18.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005623/0.3548, allocations: 302.4 kB / 0.7767 GB, free: 18.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.3549, allocations: 81.05 kB / 0.7768 GB, free: 18.31 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.3551, allocations: 332.5 kB / 0.7771 GB, free: 17.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3552, allocations: 29.64 kB / 0.7772 GB, free: 17.94 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.386e-05/0.3553, allocations: 196.1 kB / 0.7774 GB, free: 17.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.3553, allocations: 55.2 kB / 0.7774 GB, free: 17.69 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/0.3554, allocations: 37.7 kB / 0.7774 GB, free: 17.65 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.073e-05/0.3554, allocations: 346.8 kB / 0.7778 GB, free: 17.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.3556, allocations: 88.83 kB / 0.7779 GB, free: 17.21 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.3558, allocations: 114 kB / 0.778 GB, free: 17.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.3561, allocations: 195.9 kB / 0.7782 GB, free: 16.89 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3561, allocations: 0 / 0.7782 GB, free: 16.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003748/0.3565, allocations: 254.5 kB / 0.7784 GB, free: 16.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.3565, allocations: 4 kB / 0.7784 GB, free: 16.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3565, allocations: 4.062 kB / 0.7784 GB, free: 16.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3565, allocations: 4 kB / 0.7784 GB, free: 16.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.3567, allocations: 27.98 kB / 0.7784 GB, free: 16.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3567, allocations: 0 / 0.7784 GB, free: 16.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.3568, allocations: 31.67 kB / 0.7785 GB, free: 16.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.3569, allocations: 11.94 kB / 0.7785 GB, free: 16.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000181/0.357, allocations: 196.1 kB / 0.7787 GB, free: 16.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001191/0.3572, allocations: 107.4 kB / 0.7788 GB, free: 16.24 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002203/0.3574, allocations: 160.1 kB / 0.7789 GB, free: 16.08 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.021e-06/0.3574, allocations: 0 / 0.7789 GB, free: 16.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002892/0.3577, allocations: 229.8 kB / 0.7791 GB, free: 15.85 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.211e-06/0.3577, allocations: 4 kB / 0.7791 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-06/0.3577, allocations: 8.031 kB / 0.7792 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-06/0.3577, allocations: 7.938 kB / 0.7792 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.3578, allocations: 23.98 kB / 0.7792 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.3579, allocations: 4 kB / 0.7792 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.358, allocations: 11.94 kB / 0.7792 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.358, allocations: 7.938 kB / 0.7792 GB, free: 15.78 MB / 458.7 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 6.37e-05/0.3581, allocations: 192.7 kB / 0.7794 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.3581, allocations: 31.62 kB / 0.7794 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.494e-05/0.3582, allocations: 35.28 kB / 0.7795 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3582, allocations: 4 kB / 0.7795 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3582, allocations: 0 / 0.7795 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3582, allocations: 11.92 kB / 0.7795 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.3585, allocations: 409.2 kB / 0.7799 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3585, allocations: 3.938 kB / 0.7799 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.3587, allocations: 31.98 kB / 0.7799 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3587, allocations: 0 / 0.7799 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.3587, allocations: 0 / 0.7799 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3587, allocations: 7.938 kB / 0.7799 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3587, allocations: 0 / 0.7799 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/0.3616, allocations: 2.491 MB / 0.7823 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.71e-05/0.3617, allocations: 128.7 kB / 0.7825 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.3617, allocations: 11.94 kB / 0.7825 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.3619, allocations: 4 kB / 0.7825 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.3619, allocations: 15.92 kB / 0.7825 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.3619, allocations: 12.05 kB / 0.7825 GB, free: 12.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.3621, allocations: 231.1 kB / 0.7827 GB, free: 11.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3621, allocations: 0 / 0.7827 GB, free: 11.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005345/0.3626, allocations: 127.7 kB / 0.7828 GB, free: 11.85 MB / 458.7 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 8.001e-05/0.3627, allocations: 99.25 kB / 0.7829 GB, free: 11.74 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004809/0.3632, allocations: 287.8 kB / 0.7832 GB, free: 11.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3632, allocations: 0 / 0.7832 GB, free: 11.46 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.3634, allocations: 95.91 kB / 0.7833 GB, free: 11.37 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.3639, allocations: 84.09 kB / 0.7834 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009002/0.3648, allocations: 0.8504 MB / 0.7842 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.365, allocations: 0.7836 MB / 0.785 GB, free: 9.586 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.3652, allocations: 38.27 kB / 0.785 GB, free: 9.551 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.649e-05/0.3652, allocations: 19.44 kB / 0.785 GB, free: 9.535 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3652, allocations: 0 / 0.785 GB, free: 9.535 MB / 458.7 MB Notification: Performance of Templates: time 0.005454/0.3707, allocations: 3.63 MB / 0.7886 GB, free: 5.945 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)