Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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 2.286/2.286, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001004/0.001004, allocations: 176.8 kB / 487.4 MB, free: 5.035 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.393/1.393, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008784/0.0008782, allocations: 87.91 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.054e-05/2.055e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2755, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9291/1.205, allocations: 154 MB / 1.356 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003645/1.205, allocations: 91.62 kB / 1.357 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02092/1.226, allocations: 7.786 MB / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.492e-06/1.226, allocations: 0 / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.997e-06/1.226, allocations: 0 / 1.364 GB, free: 33.71 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006336/1.227, allocations: 0.5066 MB / 1.365 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/1.227, allocations: 11.66 kB / 1.365 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/1.227, allocations: 19.44 kB / 1.365 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004825/1.227, allocations: 329.7 kB / 1.365 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.493e-05/1.227, allocations: 62.41 kB / 1.365 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/1.227, allocations: 7.875 kB / 1.365 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001541/1.228, allocations: 86.69 kB / 1.365 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/1.228, allocations: 89.23 kB / 1.365 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/1.228, allocations: 0 / 1.365 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.228, allocations: 0 / 1.365 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.228, allocations: 4 kB / 1.365 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/1.228, allocations: 228.1 kB / 1.365 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/1.229, allocations: 328.3 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/1.229, allocations: 47.3 kB / 1.366 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/1.229, allocations: 108.4 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/1.229, allocations: 38.38 kB / 1.366 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/1.229, allocations: 0 / 1.366 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003089/1.23, allocations: 149.8 kB / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.771e-05/1.23, allocations: 51.41 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/1.23, allocations: 252.9 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/1.23, allocations: 25.7 kB / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/1.23, allocations: 127.8 kB / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/1.23, allocations: 15.66 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-06/1.23, allocations: 3.875 kB / 1.367 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.23, allocations: 337.1 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/1.23, allocations: 127.5 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/1.23, allocations: 129.7 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/1.231, allocations: 245.6 kB / 1.367 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.231, allocations: 0 / 1.367 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006433/1.232, allocations: 440.1 kB / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.232, allocations: 6.062 kB / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.232, allocations: 0 / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/1.232, allocations: 3.844 kB / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/1.232, allocations: 18.53 kB / 1.368 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/1.232, allocations: 6.797 kB / 1.368 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/1.232, allocations: 35.09 kB / 1.368 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/1.232, allocations: 7.688 kB / 1.368 GB, free: 31.79 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7.097e-05/1.232, allocations: 103.7 kB / 1.368 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002201/1.232, allocations: 163.1 kB / 1.368 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/1.232, allocations: 19.53 kB / 1.368 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000324/1.233, allocations: 182.2 kB / 1.368 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.233, allocations: 3.875 kB / 1.368 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.233, allocations: 0 / 1.368 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.233, allocations: 3.141 kB / 1.368 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/1.233, allocations: 200.9 kB / 1.368 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.233, allocations: 0 / 1.368 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.271e-05/1.233, allocations: 22.36 kB / 1.368 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/1.233, allocations: 0 / 1.368 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/1.233, allocations: 7.844 kB / 1.368 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/1.233, allocations: 4.125 kB / 1.368 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.233, allocations: 6.859 kB / 1.368 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/1.233, allocations: 172.7 kB / 1.369 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/1.233, allocations: 115.8 kB / 1.369 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/1.233, allocations: 0 / 1.369 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.509e-05/1.233, allocations: 6.406 kB / 1.369 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/1.233, allocations: 10.31 kB / 1.369 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/1.233, allocations: 7.688 kB / 1.369 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001349/1.234, allocations: 188 kB / 1.369 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.234, allocations: 0 / 1.369 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004195/1.234, allocations: 122.5 kB / 1.369 GB, free: 31.11 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0007478/1.235, allocations: 0.8437 MB / 1.37 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003027/1.235, allocations: 341 kB / 1.37 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.235, allocations: 0 / 1.37 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.176e-05/1.235, allocations: 50.34 kB / 1.37 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/1.235, allocations: 26.8 kB / 1.37 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/1.236, allocations: 338 kB / 1.371 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/1.236, allocations: 0.7415 MB / 1.371 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.862e-05/1.236, allocations: 24.19 kB / 1.371 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/1.236, allocations: 58.78 kB / 1.371 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.236, allocations: 0 / 1.371 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/1.259, allocations: 4.962 MB / 1.376 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/1.259, allocations: 158.4 kB / 1.376 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/3.111, allocations: 7.75 kB / 1.376 GB, free: 28.98 MB / 0.8386 GB (rm -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat does not exist to compare? outputFormat=mat