Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.987/1.987, allocations: 387.1 MB / 399.7 MB, free: 9.449 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009281/0.000928, allocations: 161 kB / 492.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 221.3 MB / 0.7871 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008412/0.0008412, allocations: 91.47 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.313e-05/2.316e-05, allocations: 11.12 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1948, allocations: 142.3 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7187/0.9136, allocations: 155 MB / 1.364 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.9138, allocations: 86.14 kB / 1.364 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01322/0.927, allocations: 6.924 MB / 1.371 GB, free: 34.29 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/0.927, allocations: 0 / 1.371 GB, free: 34.29 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.602e-05/0.9271, allocations: 15.88 kB / 1.371 GB, free: 34.28 MB / 0.8386 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.0005194/0.9276, allocations: 0.5472 MB / 1.371 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.9276, allocations: 7.656 kB / 1.371 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.233e-05/0.9277, allocations: 66.14 kB / 1.371 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.9278, allocations: 45.98 kB / 1.371 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.9282, allocations: 389 kB / 1.372 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.9282, allocations: 20.81 kB / 1.372 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.9282, allocations: 25.06 kB / 1.372 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/0.9287, allocations: 305.4 kB / 1.372 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.9287, allocations: 0 / 1.372 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.9287, allocations: 14.91 kB / 1.372 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.9287, allocations: 11.66 kB / 1.372 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.929, allocations: 202.4 kB / 1.372 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.9302, allocations: 1.163 MB / 1.373 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.9305, allocations: 202 kB / 1.374 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.989e-05/0.9306, allocations: 80.7 kB / 1.374 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.9307, allocations: 4 kB / 1.374 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.9307, allocations: 38.36 kB / 1.374 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.9307, allocations: 0 / 1.374 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002918/0.931, allocations: 195.2 kB / 1.374 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.931, allocations: 77.11 kB / 1.374 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.9313, allocations: 295.2 kB / 1.374 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.9313, allocations: 28.83 kB / 1.374 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.339e-05/0.9314, allocations: 199.9 kB / 1.375 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.9314, allocations: 52.66 kB / 1.375 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.9314, allocations: 3.875 kB / 1.375 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.9315, allocations: 344.2 kB / 1.375 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.71e-05/0.9316, allocations: 62 kB / 1.375 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.9317, allocations: 100.5 kB / 1.375 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.821e-05/0.9318, allocations: 76.47 kB / 1.375 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9319, allocations: 0 / 1.375 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002652/0.9321, allocations: 220.8 kB / 1.375 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.73e-05/0.9322, allocations: 269.2 kB / 1.376 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.9322, allocations: 4.062 kB / 1.376 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.9323, allocations: 3.812 kB / 1.376 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.9324, allocations: 35.08 kB / 1.376 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.9324, allocations: 3.953 kB / 1.376 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.9326, allocations: 26.03 kB / 1.376 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.9326, allocations: 10.36 kB / 1.376 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/0.9326, allocations: 4.969 kB / 1.376 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002052/0.9328, allocations: 162 kB / 1.376 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-06/0.9328, allocations: 0 / 1.376 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-06/0.9328, allocations: 7.75 kB / 1.376 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.9329, allocations: 25.67 kB / 1.376 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.9329, allocations: 7.781 kB / 1.376 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.587e-05/0.933, allocations: 26.62 kB / 1.376 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.9331, allocations: 11.08 kB / 1.376 GB, free: 31.7 MB / 0.8386 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 8.426e-05/0.9332, allocations: 117.5 kB / 1.376 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.9332, allocations: 39.05 kB / 1.376 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.866e-05/0.9333, allocations: 29.94 kB / 1.376 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.9333, allocations: 0 / 1.376 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9333, allocations: 4 kB / 1.376 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.9333, allocations: 2.906 kB / 1.376 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.9336, allocations: 407.6 kB / 1.376 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9336, allocations: 3.969 kB / 1.376 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.9338, allocations: 29.16 kB / 1.377 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9338, allocations: 3.844 kB / 1.377 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.9338, allocations: 6.812 kB / 1.377 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.9338, allocations: 0 / 1.377 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9338, allocations: 3.938 kB / 1.377 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.9342, allocations: 389 kB / 1.377 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/0.9343, allocations: 133.3 kB / 1.377 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.9343, allocations: 11.17 kB / 1.377 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.9345, allocations: 11.91 kB / 1.377 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.9345, allocations: 14.78 kB / 1.377 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.9345, allocations: 3.906 kB / 1.377 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001778/0.9347, allocations: 232.7 kB / 1.377 GB, free: 31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9347, allocations: 0 / 1.377 GB, free: 31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003271/0.9351, allocations: 96.5 kB / 1.377 GB, free: 30.98 MB / 0.8386 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.0006059/0.9357, allocations: 0.9321 MB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.936, allocations: 251 kB / 1.379 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.936, allocations: 0 / 1.379 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.428e-05/0.9361, allocations: 84.78 kB / 1.379 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.9365, allocations: 77.55 kB / 1.379 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008108/0.9373, allocations: 474 kB / 1.379 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.9376, allocations: 0.7817 MB / 1.38 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001774/0.9378, allocations: 55.44 kB / 1.38 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.938, allocations: 102.5 kB / 1.38 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/0.938, allocations: 0 / 1.38 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.9534, allocations: 6.576 MB / 1.386 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001374/0.9536, allocations: 160.9 kB / 1.387 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.99, allocations: 0 / 1.387 GB, free: 27.28 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat does not exist to compare? outputFormat=mat