Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.203/2.203, allocations: 248.7 MB / 256.2 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001488, allocations: 191.2 kB / 315.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 93.03 kB / 0.6704 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.267e-05/2.277e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1942, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9348/1.129, allocations: 137.8 MB / 1.019 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/1.129, allocations: 82.45 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02784/1.157, allocations: 6.945 MB / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.263e-06/1.157, allocations: 0 / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.805e-05/1.157, allocations: 8 kB / 1.025 GB, free: 11.48 MB / 0.6511 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.001149/1.159, allocations: 0.5604 MB / 1.026 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/1.159, allocations: 15.97 kB / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/1.159, allocations: 43.48 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007448/1.16, allocations: 389.5 kB / 1.026 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/1.16, allocations: 12 kB / 1.026 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.988e-05/1.16, allocations: 16 kB / 1.026 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005145/1.16, allocations: 184.9 kB / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006307/1.161, allocations: 269.6 kB / 1.027 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/1.161, allocations: 0 / 1.027 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/1.161, allocations: 0 / 1.027 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/1.161, allocations: 8 kB / 1.027 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/1.163, allocations: 1.093 MB / 1.028 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/1.164, allocations: 195.8 kB / 1.028 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/1.164, allocations: 81.08 kB / 1.028 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/1.164, allocations: 4 kB / 1.028 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/1.164, allocations: 30.56 kB / 1.028 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 6.572e-06/1.164, allocations: 7.984 kB / 1.028 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0004961/1.165, allocations: 186.2 kB / 1.028 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/1.165, allocations: 85.09 kB / 1.029 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/1.165, allocations: 230.6 kB / 1.029 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/1.165, allocations: 25.7 kB / 1.029 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/1.165, allocations: 206.4 kB / 1.029 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.553e-05/1.166, allocations: 54.3 kB / 1.029 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/1.166, allocations: 0 / 1.029 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.166, allocations: 343.4 kB / 1.029 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/1.166, allocations: 62.25 kB / 1.029 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/1.166, allocations: 97.52 kB / 1.03 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/1.166, allocations: 65.92 kB / 1.03 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.166, allocations: 0 / 1.03 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004974/1.167, allocations: 206.8 kB / 1.03 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/1.167, allocations: 271 kB / 1.03 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.167, allocations: 4 kB / 1.03 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.167, allocations: 0 / 1.03 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/1.167, allocations: 47.67 kB / 1.03 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/1.167, allocations: 0 / 1.03 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/1.168, allocations: 23.83 kB / 1.03 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/1.168, allocations: 4 kB / 1.03 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/1.168, allocations: 4 kB / 1.03 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003569/1.168, allocations: 145.3 kB / 1.03 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-06/1.168, allocations: 0 / 1.03 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-06/1.168, allocations: 0 / 1.03 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/1.168, allocations: 39.55 kB / 1.03 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/1.168, allocations: 0 / 1.03 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/1.169, allocations: 15.84 kB / 1.03 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/1.169, allocations: 4 kB / 1.03 GB, free: 7.324 MB / 0.6511 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 (actSet.y,actAct.y,expMod.mod.conPI.I.local_reset) * Number of discrete 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.0001221/1.169, allocations: 101 kB / 1.03 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000418/1.169, allocations: 190.2 kB / 1.031 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/1.169, allocations: 27.67 kB / 1.031 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/1.169, allocations: 32.39 kB / 1.031 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.169, allocations: 4 kB / 1.031 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.169, allocations: 0 / 1.031 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/1.169, allocations: 0 / 1.031 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005597/1.17, allocations: 361.8 kB / 1.031 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/1.17, allocations: 0 / 1.031 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/1.17, allocations: 27.98 kB / 1.031 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/1.17, allocations: 3.953 kB / 1.031 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/1.17, allocations: 3.688 kB / 1.031 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.17, allocations: 0 / 1.031 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.657e-06/1.17, allocations: 4 kB / 1.031 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007055/1.171, allocations: 375.4 kB / 1.031 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/1.171, allocations: 132.4 kB / 1.032 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/1.171, allocations: 7.953 kB / 1.032 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/1.172, allocations: 11.98 kB / 1.032 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/1.172, allocations: 7.984 kB / 1.032 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/1.172, allocations: 7.625 kB / 1.032 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002713/1.172, allocations: 188.3 kB / 1.032 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.62e-07/1.172, allocations: 4 kB / 1.032 GB, free: 6.102 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000582/1.173, allocations: 87.53 kB / 1.032 GB, free: 6.016 MB / 0.6511 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 (actSet.y,actAct.y) * Number of discrete 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.001087/1.174, allocations: 0.9038 MB / 1.033 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006183/1.174, allocations: 254 kB / 1.033 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.174, allocations: 0 / 1.033 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/1.175, allocations: 75.25 kB / 1.033 GB, free: 5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/1.175, allocations: 64.42 kB / 1.033 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/1.177, allocations: 464.6 kB / 1.034 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/1.177, allocations: 0.7879 MB / 1.034 GB, free: 3.695 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003376/1.178, allocations: 47.28 kB / 1.034 GB, free: 3.648 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/1.178, allocations: 104.9 kB / 1.034 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/1.178, allocations: 0 / 1.034 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05185/1.23, allocations: 5.547 MB / 1.04 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003936/1.23, allocations: 147.4 kB / 1.04 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/3.782, allocations: 0 / 1.04 GB, free: 13.93 MB / 0.6667 GB