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.213/2.213, allocations: 248.5 MB / 261.1 MB, free: 6 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.003033/0.003033, allocations: 196 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.978/1.978, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001073/0.001073, allocations: 92.69 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.14e-05/5.16e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2038, allocations: 106.2 MB / 0.8907 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9811/1.185, allocations: 137.5 MB / 1.025 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/1.185, allocations: 80.52 kB / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0276/1.213, allocations: 7.008 MB / 1.032 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.234e-06/1.213, allocations: 0 / 1.032 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.126e-05/1.213, allocations: 11.94 kB / 1.032 GB, free: 8.062 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.001146/1.214, allocations: 0.5494 MB / 1.032 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/1.214, allocations: 12.03 kB / 1.032 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/1.215, allocations: 60.97 kB / 1.032 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/1.215, allocations: 43.48 kB / 1.033 GB, free: 7.383 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007714/1.215, allocations: 395.5 kB / 1.033 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/1.215, allocations: 17 kB / 1.033 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.272e-05/1.216, allocations: 29.56 kB / 1.033 GB, free: 7.012 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007815/1.216, allocations: 316.9 kB / 1.033 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/1.216, allocations: 0 / 1.033 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.406e-05/1.216, allocations: 6.938 kB / 1.033 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/1.216, allocations: 8 kB / 1.033 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005622/1.217, allocations: 207.3 kB / 1.033 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/1.219, allocations: 1.166 MB / 1.035 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/1.22, allocations: 203.9 kB / 1.035 GB, free: 5.609 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/1.22, allocations: 84.83 kB / 1.035 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/1.22, allocations: 4 kB / 1.035 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/1.22, allocations: 40.7 kB / 1.035 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.985e-06/1.22, allocations: 0 / 1.035 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0005796/1.221, allocations: 193.4 kB / 1.035 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/1.221, allocations: 85.09 kB / 1.035 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005442/1.222, allocations: 290.8 kB / 1.035 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/1.222, allocations: 32.27 kB / 1.035 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/1.222, allocations: 197.7 kB / 1.036 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/1.222, allocations: 57.75 kB / 1.036 GB, free: 4.816 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/1.222, allocations: 6.25 kB / 1.036 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.222, allocations: 343.6 kB / 1.036 GB, free: 4.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/1.222, allocations: 62.81 kB / 1.036 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/1.223, allocations: 102.4 kB / 1.036 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/1.223, allocations: 74.83 kB / 1.036 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.223, allocations: 0 / 1.036 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005554/1.223, allocations: 225.6 kB / 1.037 GB, free: 4.172 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/1.224, allocations: 270.4 kB / 1.037 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.224, allocations: 0 / 1.037 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/1.224, allocations: 4 kB / 1.037 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/1.224, allocations: 31.17 kB / 1.037 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/1.224, allocations: 11.89 kB / 1.037 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/1.224, allocations: 27.02 kB / 1.037 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/1.224, allocations: 8 kB / 1.037 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/1.224, allocations: 4 kB / 1.037 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004239/1.225, allocations: 160.5 kB / 1.037 GB, free: 3.719 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/1.225, allocations: 0 / 1.037 GB, free: 3.719 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.124e-06/1.225, allocations: 0 / 1.037 GB, free: 3.719 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/1.225, allocations: 24 kB / 1.037 GB, free: 3.695 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/1.225, allocations: 7.984 kB / 1.037 GB, free: 3.688 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/1.225, allocations: 19.66 kB / 1.037 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/1.225, allocations: 7.938 kB / 1.037 GB, free: 3.664 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.0001297/1.226, allocations: 116.7 kB / 1.037 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/1.226, allocations: 35.58 kB / 1.037 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/1.226, allocations: 34.19 kB / 1.037 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.226, allocations: 3.938 kB / 1.037 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.226, allocations: 0 / 1.037 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.226, allocations: 7.984 kB / 1.037 GB, free: 3.48 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006289/1.227, allocations: 405.2 kB / 1.038 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.227, allocations: 0 / 1.038 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/1.227, allocations: 39.88 kB / 1.038 GB, free: 3.098 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/1.227, allocations: 0 / 1.038 GB, free: 3.098 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/1.227, allocations: 3.5 kB / 1.038 GB, free: 3.098 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/1.227, allocations: 0 / 1.038 GB, free: 3.098 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/1.227, allocations: 0 / 1.038 GB, free: 3.098 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007951/1.228, allocations: 394.6 kB / 1.038 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/1.228, allocations: 135.8 kB / 1.038 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/1.228, allocations: 7.328 kB / 1.038 GB, free: 2.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/1.228, allocations: 23.3 kB / 1.038 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/1.228, allocations: 7.984 kB / 1.038 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/1.229, allocations: 4 kB / 1.038 GB, free: 2.641 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003957/1.229, allocations: 235.2 kB / 1.038 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.229, allocations: 3.938 kB / 1.038 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005976/1.23, allocations: 86.06 kB / 1.039 GB, free: 2.383 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.001119/1.231, allocations: 0.9284 MB / 1.039 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007046/1.231, allocations: 256.2 kB / 1.04 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.231, allocations: 0 / 1.04 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/1.232, allocations: 84.19 kB / 1.04 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007862/1.232, allocations: 82.95 kB / 1.04 GB, free: 1.277 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/1.234, allocations: 488.7 kB / 1.04 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/1.235, allocations: 0.7881 MB / 1.041 GB, free: 20 kB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003883/1.235, allocations: 54.95 kB / 1.041 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/1.235, allocations: 98.53 kB / 1.041 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of SimCode: time 1.152e-06/1.235, allocations: 0 / 1.041 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/1.267, allocations: 6.65 MB / 1.048 GB, free: 9.434 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003316/1.268, allocations: 164.8 kB / 1.048 GB, free: 9.207 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/3.976, allocations: 0 / 1.048 GB, free: 9.207 MB / 0.6667 GB