Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001229/0.001229, allocations: 192.8 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.876/1.876, allocations: 205.4 MB / 0.5775 GB, free: 20.58 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.000948/0.0009477, allocations: 84 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003915, allocations: 8.812 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2302, allocations: 106.3 MB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1727/0.4029, allocations: 137.7 MB / 1.035 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.4032, allocations: 91.94 kB / 1.035 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01702/0.4203, allocations: 7.009 MB / 1.042 GB, free: 15.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4203, allocations: 0 / 1.042 GB, free: 15.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.787e-05/0.4203, allocations: 8 kB / 1.042 GB, free: 15.33 MB / 0.698 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.0009967/0.4213, allocations: 0.5999 MB / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.4214, allocations: 8.031 kB / 1.042 GB, free: 14.67 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.523e-05/0.4215, allocations: 66.53 kB / 1.042 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.4216, allocations: 47.39 kB / 1.042 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.4223, allocations: 390.7 kB / 1.043 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.4223, allocations: 20.56 kB / 1.043 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.4224, allocations: 32 kB / 1.043 GB, free: 14.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006516/0.423, allocations: 329.3 kB / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.423, allocations: 0 / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.4231, allocations: 12 kB / 1.043 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.4231, allocations: 4 kB / 1.043 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.4236, allocations: 246.2 kB / 1.043 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.4253, allocations: 1.175 MB / 1.044 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005667/0.4259, allocations: 250.8 kB / 1.045 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.4259, allocations: 0 / 1.045 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.426, allocations: 42.55 kB / 1.045 GB, free: 11.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.426, allocations: 224 / 1.045 GB, free: 11.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0006686/0.4267, allocations: 318.4 kB / 1.045 GB, free: 11.63 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.4267, allocations: 88.97 kB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.4271, allocations: 296.9 kB / 1.045 GB, free: 11.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.4271, allocations: 29.7 kB / 1.045 GB, free: 11.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.4273, allocations: 200 kB / 1.046 GB, free: 10.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.4274, allocations: 51.27 kB / 1.046 GB, free: 10.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.4274, allocations: 0 / 1.046 GB, free: 10.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4275, allocations: 342.8 kB / 1.046 GB, free: 10.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.4277, allocations: 83.97 kB / 1.046 GB, free: 10.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.428, allocations: 120.8 kB / 1.046 GB, free: 10.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.4282, allocations: 102 kB / 1.046 GB, free: 10.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4282, allocations: 0 / 1.046 GB, free: 10.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004735/0.4287, allocations: 265.1 kB / 1.047 GB, free: 10.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.4288, allocations: 272.9 kB / 1.047 GB, free: 9.738 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4288, allocations: 8.062 kB / 1.047 GB, free: 9.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4288, allocations: 0 / 1.047 GB, free: 9.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.429, allocations: 39.98 kB / 1.047 GB, free: 9.691 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.429, allocations: 0 / 1.047 GB, free: 9.691 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.4292, allocations: 27.77 kB / 1.047 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.4292, allocations: 11.95 kB / 1.047 GB, free: 9.652 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.4292, allocations: 4 kB / 1.047 GB, free: 9.648 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003348/0.4296, allocations: 179.8 kB / 1.047 GB, free: 9.473 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.4296, allocations: 0 / 1.047 GB, free: 9.473 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-06/0.4296, allocations: 0 / 1.047 GB, free: 9.473 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.4297, allocations: 27.94 kB / 1.047 GB, free: 9.445 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.4297, allocations: 0 / 1.047 GB, free: 9.445 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.4299, allocations: 23.83 kB / 1.047 GB, free: 9.422 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.4299, allocations: 4 kB / 1.047 GB, free: 9.418 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.0002437/0.4301, allocations: 249.1 kB / 1.047 GB, free: 9.164 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/0.4302, allocations: 31.58 kB / 1.047 GB, free: 9.133 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.41e-05/0.4303, allocations: 35.28 kB / 1.047 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.4303, allocations: 4 kB / 1.047 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.4303, allocations: 0 / 1.047 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4303, allocations: 3.984 kB / 1.047 GB, free: 9.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.4308, allocations: 405.3 kB / 1.048 GB, free: 8.645 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-06/0.4308, allocations: 0 / 1.048 GB, free: 8.645 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.431, allocations: 31.98 kB / 1.048 GB, free: 8.613 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.431, allocations: 11.89 kB / 1.048 GB, free: 8.602 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.4311, allocations: 4 kB / 1.048 GB, free: 8.598 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4311, allocations: 0 / 1.048 GB, free: 8.598 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4311, allocations: 0 / 1.048 GB, free: 8.598 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007374/0.4318, allocations: 456.6 kB / 1.048 GB, free: 8.137 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.432, allocations: 128.8 kB / 1.048 GB, free: 7.992 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.432, allocations: 11.94 kB / 1.048 GB, free: 7.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.4322, allocations: 12.06 kB / 1.048 GB, free: 7.969 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.4323, allocations: 11.98 kB / 1.048 GB, free: 7.957 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.4323, allocations: 4 kB / 1.048 GB, free: 7.953 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002874/0.4326, allocations: 243.2 kB / 1.049 GB, free: 7.715 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4326, allocations: 0 / 1.049 GB, free: 7.715 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004116/0.433, allocations: 95.62 kB / 1.049 GB, free: 7.621 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.001101/0.4341, allocations: 0.9924 MB / 1.05 GB, free: 6.602 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005961/0.4347, allocations: 298 kB / 1.05 GB, free: 6.312 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4347, allocations: 256 / 1.05 GB, free: 6.312 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.4349, allocations: 103.9 kB / 1.05 GB, free: 6.211 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.4354, allocations: 83.8 kB / 1.05 GB, free: 6.133 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.4387, allocations: 2.108 MB / 1.052 GB, free: 3.957 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.4391, allocations: 0.7794 MB / 1.053 GB, free: 3.152 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000153/0.4392, allocations: 34.2 kB / 1.053 GB, free: 3.117 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.4394, allocations: 103.4 kB / 1.053 GB, free: 3.016 MB / 0.698 GB Notification: Performance of SimCode: time 1.643e-06/0.4394, allocations: 4 kB / 1.053 GB, free: 3.012 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4327/0.8721, allocations: 6.144 MB / 1.059 GB, free: 148.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.8724, allocations: 202 kB / 1.059 GB, free: 148.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/3.165, allocations: 2.297 kB / 1.059 GB, free: 148.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)