Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 249.5 MB / 257 MB, free: 6.824 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.0009721/0.0009721, allocations: 179.7 kB / 316.3 MB, free: 3.23 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.325/1.325, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0007861/0.0007861, allocations: 97.2 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.799e-05/1.801e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.182, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6967/0.8787, allocations: 137.4 MB / 1.019 GB, free: 112 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004845/0.8792, allocations: 101.4 kB / 1.02 GB, free: 52 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02145/0.9007, allocations: 7.633 MB / 1.027 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9008, allocations: 0 / 1.027 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.9008, allocations: 4 kB / 1.027 GB, free: 9.574 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006074/0.9014, allocations: 0.501 MB / 1.027 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.9014, allocations: 8.031 kB / 1.028 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.632e-05/0.9015, allocations: 19.72 kB / 1.028 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005445/0.9021, allocations: 336.4 kB / 1.028 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.309e-05/0.9022, allocations: 63.41 kB / 1.028 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.9022, allocations: 4 kB / 1.028 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001698/0.9024, allocations: 94.66 kB / 1.028 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.9025, allocations: 84.75 kB / 1.028 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.9025, allocations: 0 / 1.028 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.9025, allocations: 0 / 1.028 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.9025, allocations: 7.938 kB / 1.028 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.9028, allocations: 223.2 kB / 1.028 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.9041, allocations: 328.3 kB / 1.029 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.427e-05/0.9042, allocations: 52.06 kB / 1.029 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.9043, allocations: 97.09 kB / 1.029 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.9043, allocations: 34.56 kB / 1.029 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.9043, allocations: 0 / 1.029 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0003483/0.9047, allocations: 155.6 kB / 1.029 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.9047, allocations: 51.41 kB / 1.029 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.905, allocations: 248.7 kB / 1.029 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.905, allocations: 25.7 kB / 1.029 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.9051, allocations: 121.9 kB / 1.029 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.9051, allocations: 23.42 kB / 1.029 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/0.9051, allocations: 4 kB / 1.029 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.9052, allocations: 333.1 kB / 1.03 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.9054, allocations: 131.7 kB / 1.03 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.9055, allocations: 131 kB / 1.03 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/0.906, allocations: 243.2 kB / 1.03 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9061, allocations: 0 / 1.03 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007221/0.9068, allocations: 446.9 kB / 1.031 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.9068, allocations: 4 kB / 1.031 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.9068, allocations: 4 kB / 1.031 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.9069, allocations: 4 kB / 1.031 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.907, allocations: 15.98 kB / 1.031 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.907, allocations: 4 kB / 1.031 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.9071, allocations: 31.53 kB / 1.031 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.9071, allocations: 8 kB / 1.031 GB, free: 6 MB / 0.6511 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.804e-05/0.9072, allocations: 104.9 kB / 1.031 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002514/0.9075, allocations: 157.8 kB / 1.031 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.9075, allocations: 23.72 kB / 1.031 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.9079, allocations: 190.8 kB / 1.031 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.9079, allocations: 0 / 1.031 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9079, allocations: 4 kB / 1.031 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.9079, allocations: 0 / 1.031 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.9081, allocations: 197.7 kB / 1.031 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.9081, allocations: 7.891 kB / 1.031 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.824e-05/0.9082, allocations: 19.92 kB / 1.031 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.9082, allocations: 8 kB / 1.031 GB, free: 5.297 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.9083, allocations: 7 kB / 1.031 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9083, allocations: 0 / 1.031 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.9083, allocations: 0 / 1.031 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.9085, allocations: 173.6 kB / 1.032 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.235e-05/0.9086, allocations: 120.1 kB / 1.032 GB, free: 4.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.9087, allocations: 0 / 1.032 GB, free: 4.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.164e-05/0.9088, allocations: 8 kB / 1.032 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.9088, allocations: 7.984 kB / 1.032 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.9088, allocations: 8 kB / 1.032 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001449/0.909, allocations: 183.7 kB / 1.032 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.623e-06/0.909, allocations: 0 / 1.032 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000455/0.9095, allocations: 131.8 kB / 1.032 GB, free: 4.68 MB / 0.6511 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.0007817/0.9103, allocations: 0.8361 MB / 1.033 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003327/0.9106, allocations: 342 kB / 1.033 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.9106, allocations: 0 / 1.033 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.19e-05/0.9107, allocations: 50.23 kB / 1.033 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.9109, allocations: 23.39 kB / 1.033 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.9116, allocations: 338.4 kB / 1.034 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.9119, allocations: 0.7438 MB / 1.034 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000102/0.912, allocations: 19.06 kB / 1.034 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.912, allocations: 60.23 kB / 1.034 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.9121, allocations: 0 / 1.034 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.9343, allocations: 4.975 MB / 1.039 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.9346, allocations: 164.8 kB / 1.039 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.678, allocations: 3.125 kB / 1.039 GB, free: 13.25 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1)