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.137/2.137, allocations: 251 MB / 265.9 MB, free: 11.7 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.001692/0.001692, allocations: 181.2 kB / 325.5 MB, free: 2.91 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.452/2.452, allocations: 205.4 MB / 0.5764 GB, free: 20.83 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.001063/0.001063, allocations: 99.84 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.000507, allocations: 16.27 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2184, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2623/0.4808, allocations: 137.6 MB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004606/0.4813, allocations: 91.94 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03937/0.5207, allocations: 7.005 MB / 1.04 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.976e-06/0.5208, allocations: 0 / 1.04 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.02e-05/0.5209, allocations: 8 kB / 1.04 GB, free: 0.6211 MB / 0.6823 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.001825/0.5227, allocations: 0.6037 MB / 1.041 GB, free: 15.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/0.5228, allocations: 8.031 kB / 1.041 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.523, allocations: 62.53 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.5231, allocations: 51.33 kB / 1.041 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.5243, allocations: 394.7 kB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/0.5244, allocations: 20.56 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.5245, allocations: 32 kB / 1.041 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.5259, allocations: 325.4 kB / 1.042 GB, free: 15.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.5259, allocations: 0 / 1.042 GB, free: 15.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/0.526, allocations: 8 kB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.526, allocations: 8 kB / 1.042 GB, free: 15.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.5273, allocations: 250 kB / 1.042 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003555/0.5309, allocations: 1.175 MB / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.5323, allocations: 251 kB / 1.043 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.056e-05/0.5324, allocations: 0 / 1.043 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.5325, allocations: 38.5 kB / 1.043 GB, free: 13.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.835e-06/0.5325, allocations: 0 / 1.043 GB, free: 13.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.001709/0.5342, allocations: 318.5 kB / 1.044 GB, free: 12.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.5343, allocations: 81.11 kB / 1.044 GB, free: 12.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007902/0.5351, allocations: 300.8 kB / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/0.5352, allocations: 25.7 kB / 1.044 GB, free: 12.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.5355, allocations: 204 kB / 1.044 GB, free: 12.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.5357, allocations: 59.19 kB / 1.044 GB, free: 12.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.5357, allocations: 0 / 1.044 GB, free: 12.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002209/0.5359, allocations: 342.8 kB / 1.044 GB, free: 11.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/0.5365, allocations: 83.97 kB / 1.045 GB, free: 11.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/0.537, allocations: 125.3 kB / 1.045 GB, free: 11.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000511/0.5375, allocations: 96.02 kB / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.311e-06/0.5376, allocations: 0 / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001249/0.5388, allocations: 270.8 kB / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001987/0.5391, allocations: 267.1 kB / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.5391, allocations: 0 / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.5391, allocations: 4 kB / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.5396, allocations: 35.92 kB / 1.045 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.5396, allocations: 3.984 kB / 1.045 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/0.5401, allocations: 31.8 kB / 1.045 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.5401, allocations: 4 kB / 1.045 GB, free: 10.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5402, allocations: 4 kB / 1.045 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008263/0.541, allocations: 185.7 kB / 1.046 GB, free: 10.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.541, allocations: 0 / 1.046 GB, free: 10.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.5411, allocations: 3.984 kB / 1.046 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.5414, allocations: 31.92 kB / 1.046 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.5415, allocations: 0 / 1.046 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.5418, allocations: 19.84 kB / 1.046 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.5418, allocations: 4 kB / 1.046 GB, free: 10.7 MB / 0.698 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 () * 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.0004552/0.5423, allocations: 249.1 kB / 1.046 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.5425, allocations: 31.58 kB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.5426, allocations: 35.28 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.5427, allocations: 7.984 kB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.5427, allocations: 0 / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.5427, allocations: 3.938 kB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009402/0.5436, allocations: 409.2 kB / 1.046 GB, free: 9.918 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5437, allocations: 0 / 1.046 GB, free: 9.918 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004939/0.5442, allocations: 39.94 kB / 1.046 GB, free: 9.879 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.5442, allocations: 0 / 1.046 GB, free: 9.879 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.5443, allocations: 0 / 1.046 GB, free: 9.879 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.5443, allocations: 4 kB / 1.046 GB, free: 9.875 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5443, allocations: 0 / 1.046 GB, free: 9.875 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.5461, allocations: 457.1 kB / 1.047 GB, free: 9.414 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.5465, allocations: 128.7 kB / 1.047 GB, free: 9.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.5466, allocations: 11.95 kB / 1.047 GB, free: 9.258 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.5471, allocations: 20.05 kB / 1.047 GB, free: 9.238 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.081e-05/0.5472, allocations: 7.984 kB / 1.047 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.5472, allocations: 4 kB / 1.047 GB, free: 9.227 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006153/0.5478, allocations: 239.2 kB / 1.047 GB, free: 8.996 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.21e-07/0.5479, allocations: 0 / 1.047 GB, free: 8.996 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00107/0.549, allocations: 91.62 kB / 1.047 GB, free: 8.906 MB / 0.698 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 () * 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.002401/0.5514, allocations: 0.9933 MB / 1.048 GB, free: 7.883 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.553, allocations: 296.2 kB / 1.049 GB, free: 7.598 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.5531, allocations: 4.25 kB / 1.049 GB, free: 7.594 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005172/0.5536, allocations: 99.91 kB / 1.049 GB, free: 7.496 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.5547, allocations: 78.41 kB / 1.049 GB, free: 7.422 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006612/0.5613, allocations: 2.108 MB / 1.051 GB, free: 5.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.5618, allocations: 0.7872 MB / 1.052 GB, free: 4.438 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002605/0.5621, allocations: 34.2 kB / 1.052 GB, free: 4.402 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.5624, allocations: 99.41 kB / 1.052 GB, free: 4.305 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/0.5624, allocations: 0 / 1.052 GB, free: 4.305 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.62/1.182, allocations: 6.149 MB / 1.058 GB, free: 149.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/1.183, allocations: 187.9 kB / 1.058 GB, free: 149.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/3.761, allocations: 0 / 1.058 GB, free: 149.7 MB / 0.698 GB