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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 289.7 MB / 302.2 MB, free: 2.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009904/0.0009901, allocations: 180.8 kB / 371.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009942/0.0009942, allocations: 97.28 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.052e-05/4.053e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3428, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.14/1.482, allocations: 144.9 MB / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/1.483, allocations: 82.73 kB / 1.121 GB, free: 40.15 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01752/1.501, allocations: 6.991 MB / 1.128 GB, free: 36.67 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.205e-06/1.501, allocations: 0 / 1.128 GB, free: 36.67 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.518e-05/1.501, allocations: 8 kB / 1.128 GB, free: 36.66 MB / 0.7448 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.001071/1.502, allocations: 0.5611 MB / 1.129 GB, free: 36.13 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/1.502, allocations: 8.031 kB / 1.129 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/1.502, allocations: 61.34 kB / 1.129 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/1.502, allocations: 46.47 kB / 1.129 GB, free: 36.03 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007439/1.503, allocations: 398.9 kB / 1.129 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/1.503, allocations: 19.62 kB / 1.129 GB, free: 35.72 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/1.503, allocations: 26.56 kB / 1.129 GB, free: 35.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006275/1.504, allocations: 297.9 kB / 1.13 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/1.504, allocations: 0 / 1.13 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/1.504, allocations: 13.69 kB / 1.13 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/1.504, allocations: 4 kB / 1.13 GB, free: 35.51 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/1.504, allocations: 205.5 kB / 1.13 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/1.506, allocations: 1.175 MB / 1.131 GB, free: 34.65 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/1.507, allocations: 204.6 kB / 1.131 GB, free: 34.53 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/1.507, allocations: 77.61 kB / 1.131 GB, free: 34.49 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/1.507, allocations: 4.938 kB / 1.131 GB, free: 34.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/1.507, allocations: 38.5 kB / 1.131 GB, free: 34.44 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/1.507, allocations: 3.938 kB / 1.131 GB, free: 34.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004427/1.507, allocations: 199.2 kB / 1.132 GB, free: 34.3 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.888e-05/1.507, allocations: 81.11 kB / 1.132 GB, free: 34.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/1.508, allocations: 293.2 kB / 1.132 GB, free: 33.99 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/1.508, allocations: 25.7 kB / 1.132 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/1.508, allocations: 207.3 kB / 1.132 GB, free: 33.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/1.508, allocations: 54.5 kB / 1.132 GB, free: 33.78 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/1.508, allocations: 3.875 kB / 1.132 GB, free: 33.78 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.508, allocations: 346.2 kB / 1.133 GB, free: 33.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/1.508, allocations: 62.81 kB / 1.133 GB, free: 33.42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/1.508, allocations: 103.1 kB / 1.133 GB, free: 33.35 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/1.509, allocations: 69.19 kB / 1.133 GB, free: 33.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.509, allocations: 0 / 1.133 GB, free: 33.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003518/1.509, allocations: 225.7 kB / 1.133 GB, free: 33.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.569e-05/1.509, allocations: 271.8 kB / 1.133 GB, free: 32.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.509, allocations: 0 / 1.133 GB, free: 32.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/1.509, allocations: 7.984 kB / 1.133 GB, free: 32.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/1.509, allocations: 43.19 kB / 1.133 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/1.509, allocations: 0 / 1.133 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/1.509, allocations: 23.36 kB / 1.133 GB, free: 32.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/1.509, allocations: 7.688 kB / 1.133 GB, free: 32.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/1.509, allocations: 8.516 kB / 1.133 GB, free: 32.81 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002497/1.51, allocations: 157.2 kB / 1.133 GB, free: 32.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/1.51, allocations: 1.625 kB / 1.133 GB, free: 32.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/1.51, allocations: 8.062 kB / 1.133 GB, free: 32.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/1.51, allocations: 31.16 kB / 1.134 GB, free: 32.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/1.51, allocations: 4 kB / 1.134 GB, free: 32.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/1.51, allocations: 16.02 kB / 1.134 GB, free: 32.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/1.51, allocations: 11.88 kB / 1.134 GB, free: 32.67 MB / 0.7448 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.0001478/1.51, allocations: 106.8 kB / 1.134 GB, free: 32.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/1.51, allocations: 35.58 kB / 1.134 GB, free: 32.53 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.837e-05/1.51, allocations: 33.53 kB / 1.134 GB, free: 32.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/1.51, allocations: 8 kB / 1.134 GB, free: 32.51 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.51, allocations: 3.938 kB / 1.134 GB, free: 32.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.51, allocations: 1.406 kB / 1.134 GB, free: 32.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/1.511, allocations: 413.6 kB / 1.134 GB, free: 32.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.511, allocations: 3.938 kB / 1.134 GB, free: 32.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/1.511, allocations: 29.45 kB / 1.134 GB, free: 32.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/1.511, allocations: 0 / 1.134 GB, free: 32.2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/1.511, allocations: 3.953 kB / 1.134 GB, free: 32.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.511, allocations: 4 kB / 1.134 GB, free: 32.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.511, allocations: 4 kB / 1.134 GB, free: 32.19 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/1.512, allocations: 395.4 kB / 1.135 GB, free: 31.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/1.512, allocations: 130.2 kB / 1.135 GB, free: 31.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/1.512, allocations: 11.05 kB / 1.135 GB, free: 31.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/1.512, allocations: 11.95 kB / 1.135 GB, free: 31.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/1.512, allocations: 14.67 kB / 1.135 GB, free: 31.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/1.512, allocations: 8.062 kB / 1.135 GB, free: 31.76 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002633/1.512, allocations: 234.5 kB / 1.135 GB, free: 31.6 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.512, allocations: 0.6562 kB / 1.135 GB, free: 31.6 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004185/1.513, allocations: 90.62 kB / 1.135 GB, free: 31.52 MB / 0.7448 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.0008202/1.514, allocations: 0.9215 MB / 1.136 GB, free: 30.7 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005656/1.514, allocations: 264.8 kB / 1.136 GB, free: 30.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.514, allocations: 0 / 1.136 GB, free: 30.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/1.514, allocations: 84.56 kB / 1.136 GB, free: 30.48 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/1.515, allocations: 75.48 kB / 1.136 GB, free: 30.45 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/1.516, allocations: 486.1 kB / 1.137 GB, free: 30.05 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/1.516, allocations: 0.7817 MB / 1.138 GB, free: 29.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002361/1.517, allocations: 52.98 kB / 1.138 GB, free: 29.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/1.517, allocations: 98.2 kB / 1.138 GB, free: 29.24 MB / 0.7448 GB Notification: Performance of SimCode: time 7.92e-07/1.517, allocations: 7.938 kB / 1.138 GB, free: 29.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04155/1.558, allocations: 6.659 MB / 1.144 GB, free: 25.35 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/1.559, allocations: 165.2 kB / 1.144 GB, free: 25.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/4.1, allocations: 0 / 1.144 GB, free: 25.12 MB / 0.7448 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)