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.598/1.599, allocations: 249.3 MB / 261.9 MB, free: 5.863 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.001149/0.001149, allocations: 184.8 kB / 321.3 MB, free: 14.66 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.955/1.955, allocations: 205.1 MB / 0.572 GB, free: 10.68 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.0008858/0.000886, allocations: 90.52 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.665e-05/3.667e-05, allocations: 0 / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2594, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7859/1.045, allocations: 137.7 MB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/1.046, allocations: 84.06 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01678/1.062, allocations: 7.008 MB / 1.033 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.743e-06/1.062, allocations: 0 / 1.033 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.883e-05/1.063, allocations: 8 kB / 1.033 GB, free: 7.379 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.00088/1.063, allocations: 0.5638 MB / 1.034 GB, free: 6.797 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/1.063, allocations: 12.03 kB / 1.034 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.329e-05/1.064, allocations: 57.42 kB / 1.034 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/1.064, allocations: 43.48 kB / 1.034 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007007/1.064, allocations: 389.5 kB / 1.034 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/1.064, allocations: 27.38 kB / 1.034 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/1.065, allocations: 27.56 kB / 1.034 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/1.065, allocations: 298.3 kB / 1.035 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/1.065, allocations: 0 / 1.035 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/1.065, allocations: 14.62 kB / 1.035 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/1.065, allocations: 8 kB / 1.035 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/1.066, allocations: 199.4 kB / 1.035 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/1.067, allocations: 1.175 MB / 1.036 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/1.068, allocations: 200.9 kB / 1.036 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/1.068, allocations: 83.17 kB / 1.036 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/1.068, allocations: 0 / 1.036 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/1.068, allocations: 34.56 kB / 1.036 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/1.068, allocations: 4 kB / 1.036 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.000445/1.069, allocations: 201 kB / 1.036 GB, free: 4.691 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/1.069, allocations: 85.05 kB / 1.037 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003887/1.069, allocations: 290.3 kB / 1.037 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/1.069, allocations: 29.27 kB / 1.037 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/1.069, allocations: 199.2 kB / 1.037 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/1.069, allocations: 58.17 kB / 1.037 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/1.069, allocations: 4 kB / 1.037 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001918/1.07, allocations: 337 kB / 1.037 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/1.07, allocations: 66.75 kB / 1.037 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/1.07, allocations: 104.7 kB / 1.038 GB, free: 3.699 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/1.07, allocations: 69.55 kB / 1.038 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.07, allocations: 4 kB / 1.038 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003669/1.07, allocations: 222 kB / 1.038 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/1.07, allocations: 273.9 kB / 1.038 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.071, allocations: 0 / 1.038 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.071, allocations: 0 / 1.038 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/1.071, allocations: 43.91 kB / 1.038 GB, free: 3.176 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/1.071, allocations: 0 / 1.038 GB, free: 3.176 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/1.071, allocations: 31.28 kB / 1.038 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/1.071, allocations: 11.94 kB / 1.038 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/1.071, allocations: 5.719 kB / 1.038 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002651/1.071, allocations: 159.2 kB / 1.038 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/1.071, allocations: 0 / 1.038 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.496e-06/1.071, allocations: 0 / 1.038 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/1.071, allocations: 39.17 kB / 1.038 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/1.071, allocations: 0 / 1.038 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/1.072, allocations: 15.84 kB / 1.038 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/1.072, allocations: 7.438 kB / 1.038 GB, free: 2.984 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.0001355/1.072, allocations: 112.4 kB / 1.039 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/1.072, allocations: 35.58 kB / 1.039 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.779e-05/1.072, allocations: 34.25 kB / 1.039 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/1.072, allocations: 0 / 1.039 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.072, allocations: 4 kB / 1.039 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/1.072, allocations: 7.984 kB / 1.039 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/1.072, allocations: 410.5 kB / 1.039 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.072, allocations: 0 / 1.039 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/1.073, allocations: 26.55 kB / 1.039 GB, free: 2.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/1.073, allocations: 7.953 kB / 1.039 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/1.073, allocations: 2.562 kB / 1.039 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/1.073, allocations: 0 / 1.039 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.073, allocations: 0 / 1.039 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005261/1.073, allocations: 400.2 kB / 1.039 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/1.073, allocations: 132.2 kB / 1.04 GB, free: 1.996 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/1.073, allocations: 7.703 kB / 1.04 GB, free: 1.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/1.074, allocations: 11.98 kB / 1.04 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/1.074, allocations: 18.92 kB / 1.04 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/1.074, allocations: 0 / 1.04 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002518/1.074, allocations: 239.4 kB / 1.04 GB, free: 1.781 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.11e-07/1.074, allocations: 4 kB / 1.04 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004061/1.074, allocations: 86.81 kB / 1.04 GB, free: 1.699 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.0008426/1.075, allocations: 0.9302 MB / 1.041 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004293/1.076, allocations: 255 kB / 1.041 GB, free: 0.707 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.674e-05/1.076, allocations: 4 kB / 1.041 GB, free: 0.7031 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/1.076, allocations: 85.88 kB / 1.041 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/1.076, allocations: 72.17 kB / 1.041 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/1.077, allocations: 492.6 kB / 1.042 GB, free: 148 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/1.078, allocations: 0.7882 MB / 1.042 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002328/1.078, allocations: 47.03 kB / 1.042 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/1.078, allocations: 98.34 kB / 1.043 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of SimCode: time 5.52e-07/1.078, allocations: 0 / 1.043 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/1.1, allocations: 6.664 MB / 1.049 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/1.101, allocations: 168 kB / 1.049 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/3.245, allocations: 6.094 kB / 1.049 GB, free: 8.496 MB / 0.6667 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)