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.001225/0.001225, allocations: 108 kB / 15.6 MB, free: 132 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.001332/0.001332, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.426/1.426, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.742/1.742, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.00166/0.00166, allocations: 63.08 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3362, allocations: 114.5 MB / 0.7835 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.005888/0.3422, allocations: 2.628 MB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.3442, allocations: 0.9593 MB / 0.787 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/0.3445, allocations: 15.88 kB / 0.787 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.3448, allocations: 63.39 kB / 0.787 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.3449, allocations: 63.39 kB / 0.7871 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.3455, allocations: 235.7 kB / 0.7873 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005014/0.346, allocations: 455.7 kB / 0.7878 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004163/0.3464, allocations: 229.4 kB / 0.788 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.3466, allocations: 155.3 kB / 0.7881 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.3468, allocations: 147.2 kB / 0.7883 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.245e-05/0.3469, allocations: 48 kB / 0.7883 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.405e-05/0.347, allocations: 52 kB / 0.7884 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.3471, allocations: 91.64 kB / 0.7885 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.3473, allocations: 187 kB / 0.7886 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006789/0.348, allocations: 0.6076 MB / 0.7892 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.348, allocations: 0 / 0.7892 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.106e-06/0.348, allocations: 0 / 0.7892 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.348, allocations: 0 / 0.7892 GB, free: 7.484 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.001111/0.3491, allocations: 0.6506 MB / 0.7899 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.3492, allocations: 12.03 kB / 0.7899 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.87e-05/0.3493, allocations: 62.72 kB / 0.7899 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.148e-05/0.3494, allocations: 40.47 kB / 0.79 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005716/0.3499, allocations: 395.2 kB / 0.7904 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.35, allocations: 24.94 kB / 0.7904 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.3501, allocations: 32.38 kB / 0.7904 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000702/0.3508, allocations: 317.5 kB / 0.7907 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.3509, allocations: 3.938 kB / 0.7907 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.3509, allocations: 12 kB / 0.7907 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.3509, allocations: 8 kB / 0.7907 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005014/0.3514, allocations: 234.1 kB / 0.791 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.3531, allocations: 1.174 MB / 0.7921 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005508/0.3537, allocations: 234.8 kB / 0.7923 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.3539, allocations: 96.83 kB / 0.7924 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.3539, allocations: 3.938 kB / 0.7924 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.354, allocations: 34.56 kB / 0.7925 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.354, allocations: 0 / 0.7925 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006817/0.3547, allocations: 297.2 kB / 0.7927 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.381e-05/0.3548, allocations: 85.11 kB / 0.7928 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.3552, allocations: 341.6 kB / 0.7931 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.3552, allocations: 29.7 kB / 0.7932 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.3554, allocations: 196.1 kB / 0.7934 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.3554, allocations: 55.25 kB / 0.7934 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/0.3555, allocations: 37.7 kB / 0.7934 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3557, allocations: 342.8 kB / 0.7938 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.3559, allocations: 92.77 kB / 0.7939 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.3561, allocations: 118.1 kB / 0.794 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.3565, allocations: 199.4 kB / 0.7942 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3565, allocations: 0 / 0.7942 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004739/0.357, allocations: 255.6 kB / 0.7944 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.357, allocations: 4 kB / 0.7944 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.3571, allocations: 0 / 0.7944 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.3571, allocations: 7.984 kB / 0.7944 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.3573, allocations: 31.97 kB / 0.7945 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.3573, allocations: 11.92 kB / 0.7945 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.3575, allocations: 31.75 kB / 0.7945 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.3575, allocations: 4 kB / 0.7945 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002551/0.3578, allocations: 196.1 kB / 0.7947 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001615/0.358, allocations: 103.4 kB / 0.7948 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002741/0.3582, allocations: 161.6 kB / 0.7949 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.81e-07/0.3583, allocations: 3.938 kB / 0.7949 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003722/0.3586, allocations: 229.1 kB / 0.7952 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.3587, allocations: 8 kB / 0.7952 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/0.3587, allocations: 0 / 0.7952 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-06/0.3587, allocations: 0 / 0.7952 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3588, allocations: 31.98 kB / 0.7952 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.3588, allocations: 0 / 0.7952 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.3589, allocations: 23.94 kB / 0.7952 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.3589, allocations: 4 kB / 0.7952 GB, free: 1.039 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.000133/0.3591, allocations: 192.2 kB / 0.7954 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.3591, allocations: 31.56 kB / 0.7954 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.85e-05/0.3592, allocations: 35.27 kB / 0.7955 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3592, allocations: 4 kB / 0.7955 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.3593, allocations: 3.938 kB / 0.7955 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3593, allocations: 0 / 0.7955 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005439/0.3598, allocations: 409.3 kB / 0.7959 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3598, allocations: 4 kB / 0.7959 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.36, allocations: 23.98 kB / 0.7959 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.36, allocations: 7.938 kB / 0.7959 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.36, allocations: 4 kB / 0.7959 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3601, allocations: 0 / 0.7959 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3601, allocations: 3.938 kB / 0.7959 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007091/0.3608, allocations: 442.1 kB / 0.7963 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.3609, allocations: 132.6 kB / 0.7965 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.361, allocations: 0 / 0.7965 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.3611, allocations: 12 kB / 0.7965 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.3612, allocations: 11.92 kB / 0.7965 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.3612, allocations: 11.94 kB / 0.7965 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002496/0.3614, allocations: 239.2 kB / 0.7967 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3615, allocations: 64 / 0.7967 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004025/0.3619, allocations: 95.59 kB / 0.7968 GB, free: 15.31 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.001038/0.3629, allocations: 0.9659 MB / 0.7978 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006126/0.3635, allocations: 294.8 kB / 0.798 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3636, allocations: 0 / 0.798 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.3637, allocations: 98.8 kB / 0.7981 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006473/0.3644, allocations: 101.1 kB / 0.7982 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.3686, allocations: 2.952 MB / 0.8011 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.3691, allocations: 0.7753 MB / 0.8019 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000141/0.3693, allocations: 34.27 kB / 0.8019 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.3695, allocations: 99.41 kB / 0.802 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.3695, allocations: 3.938 kB / 0.802 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.399, allocations: 6.59 MB / 0.8084 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.397/7.796, allocations: 23.62 kB / 0.8085 GB, free: 3.387 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.csv --start-time 0 --stop-time 150 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)