Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.96/1.96, allocations: 292.6 MB / 307.5 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001283/0.001283, allocations: 183.4 kB / 377.1 MB, free: 1.555 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 0.6366 GB, free: 8.598 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009872/0.0009869, allocations: 92.11 kB / 0.7509 GB, free: 63.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003649, allocations: 8 kB / 0.8748 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3026, allocations: 116.3 MB / 0.9884 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.679/6.982, allocations: 2.315 GB / 3.304 GB, free: 266.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/6.983, allocations: 89.64 kB / 3.304 GB, free: 266.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.723/9.706, allocations: 0.6528 GB / 3.956 GB, free: 136.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.583e-06/9.706, allocations: 6.656 kB / 3.956 GB, free: 136.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000191/9.706, allocations: 39.33 kB / 3.956 GB, free: 136.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.006014/9.712, allocations: 1.567 MB / 3.958 GB, free: 136 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/9.712, allocations: 11.03 kB / 3.958 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005108/9.713, allocations: 113 kB / 3.958 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003252/9.716, allocations: 0.5413 MB / 3.959 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03072/9.747, allocations: 13.15 MB / 3.971 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001212/9.748, allocations: 318.2 kB / 3.972 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004156/9.748, allocations: 68.72 kB / 3.972 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003328/9.752, allocations: 1.164 MB / 3.973 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/9.752, allocations: 0 / 3.973 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/9.752, allocations: 31.28 kB / 3.973 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/9.752, allocations: 29.7 kB / 3.973 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003368/9.755, allocations: 1.238 MB / 3.974 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007722/9.763, allocations: 3.266 MB / 3.977 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/9.765, allocations: 0.7087 MB / 3.978 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008559/9.766, allocations: 1.026 MB / 3.979 GB, free: 133 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/9.767, allocations: 0.5375 MB / 3.98 GB, free: 132.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 6.893e-06/9.767, allocations: 3.844 kB / 3.98 GB, free: 132.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.003518/9.771, allocations: 1.354 MB / 3.981 GB, free: 132.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/9.771, allocations: 165.5 kB / 3.981 GB, free: 132.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/9.773, allocations: 1.084 MB / 3.982 GB, free: 132.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001746/9.774, allocations: 40.36 kB / 3.982 GB, free: 132.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004666/9.774, allocations: 440.8 kB / 3.983 GB, free: 132.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/9.774, allocations: 196.2 kB / 3.983 GB, free: 132.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/9.774, allocations: 12.47 kB / 3.983 GB, free: 132.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.48e-05/9.774, allocations: 330.3 kB / 3.983 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/9.776, allocations: 491.4 kB / 3.984 GB, free: 131.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/9.777, allocations: 0.6815 MB / 3.984 GB, free: 131.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/9.778, allocations: 0.5583 MB / 3.985 GB, free: 131.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/9.778, allocations: 0 / 3.985 GB, free: 131.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003376/9.782, allocations: 1.314 MB / 3.986 GB, free: 131.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/9.782, allocations: 39.78 kB / 3.986 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/9.782, allocations: 3.719 kB / 3.986 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/9.782, allocations: 3.188 kB / 3.986 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/9.783, allocations: 217.3 kB / 3.986 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/9.783, allocations: 9.438 kB / 3.986 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/9.785, allocations: 311.3 kB / 3.987 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/9.785, allocations: 49.16 kB / 3.987 GB, free: 131.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * 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.0008022/9.786, allocations: 327.6 kB / 3.987 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/9.786, allocations: 114.8 kB / 3.987 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/9.789, allocations: 1.039 MB / 3.988 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/9.789, allocations: 10.3 kB / 3.988 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/9.789, allocations: 3.469 kB / 3.988 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/9.789, allocations: 3.469 kB / 3.988 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005847/9.795, allocations: 3.353 MB / 3.991 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.468e-05/9.795, allocations: 11.94 kB / 3.991 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006457/9.796, allocations: 136.1 kB / 3.992 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.992e-05/9.796, allocations: 13.36 kB / 3.992 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.826e-05/9.796, allocations: 26.89 kB / 3.992 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.467e-05/9.796, allocations: 14.91 kB / 3.992 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/9.796, allocations: 16.66 kB / 3.992 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/9.799, allocations: 1.826 MB / 3.993 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009703/9.8, allocations: 336.3 kB / 3.994 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004095/9.8, allocations: 24.03 kB / 3.994 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/9.802, allocations: 123.2 kB / 3.994 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/9.802, allocations: 67.41 kB / 3.994 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/9.802, allocations: 49.69 kB / 3.994 GB, free: 129 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001943/9.804, allocations: 0.8761 MB / 3.995 GB, free: 128.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/9.804, allocations: 0 / 3.995 GB, free: 128.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002698/9.807, allocations: 430.8 kB / 3.995 GB, free: 128.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.006461/9.813, allocations: 6.068 MB / 4.001 GB, free: 124.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002742/9.816, allocations: 1.062 MB / 4.002 GB, free: 124.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/9.816, allocations: 3.75 kB / 4.002 GB, free: 124.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/9.817, allocations: 0.526 MB / 4.003 GB, free: 124.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/9.82, allocations: 0.5316 MB / 4.003 GB, free: 124.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/9.837, allocations: 9.05 MB / 4.012 GB, free: 120.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008752/9.838, allocations: 1.089 MB / 4.013 GB, free: 119.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001536/9.84, allocations: 286 kB / 4.013 GB, free: 119.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005691/9.841, allocations: 366.3 kB / 4.014 GB, free: 119.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.693e-06/9.841, allocations: 0 / 4.014 GB, free: 119.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/9.948, allocations: 51.76 MB / 4.064 GB, free: 117.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/9.948, allocations: 243.4 kB / 4.065 GB, free: 117.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.215/14.16, allocations: 0 / 4.065 GB, free: 117.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)