Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5142/0.5142, allocations: 90.91 MB / 99.34 MB, free: 2.215 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 221.5 MB / 343.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009474/0.0009475, allocations: 108.8 kB / 416 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.202e-05/2.204e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1454, allocations: 72.3 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.797/4.943, allocations: 2.108 GB / 2.661 GB, free: 73.02 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/4.943, allocations: 83.95 kB / 2.661 GB, free: 72.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.643/7.586, allocations: 0.6515 GB / 3.313 GB, free: 82.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.362e-06/7.586, allocations: 0 / 3.313 GB, free: 82.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000104/7.586, allocations: 35.59 kB / 3.313 GB, free: 82.43 MB / 0.6042 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.004707/7.591, allocations: 1.482 MB / 3.314 GB, free: 81.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/7.591, allocations: 10.91 kB / 3.314 GB, free: 81.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002756/7.594, allocations: 0.5452 MB / 3.315 GB, free: 81.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02722/7.621, allocations: 13.11 MB / 3.328 GB, free: 80.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001169/7.622, allocations: 289 kB / 3.328 GB, free: 80.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/7.622, allocations: 46.89 kB / 3.328 GB, free: 80.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001385/7.624, allocations: 0.7252 MB / 3.329 GB, free: 80.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/7.625, allocations: 0.891 MB / 3.33 GB, free: 80.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/7.625, allocations: 3.938 kB / 3.33 GB, free: 80.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.457e-05/7.625, allocations: 7.188 kB / 3.33 GB, free: 80.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.737e-05/7.625, allocations: 27.7 kB / 3.33 GB, free: 80.7 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006393/7.632, allocations: 3.104 MB / 3.333 GB, free: 79.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009654/7.633, allocations: 0.5536 MB / 3.333 GB, free: 79.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/7.633, allocations: 357.3 kB / 3.333 GB, free: 79.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/7.634, allocations: 1.022 MB / 3.334 GB, free: 78.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007095/7.635, allocations: 475.2 kB / 3.335 GB, free: 78.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=57): time 4.228e-06/7.635, allocations: 0 / 3.335 GB, free: 78.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57): time 0.002037/7.637, allocations: 0.7924 MB / 3.336 GB, free: 78.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/7.637, allocations: 140 kB / 3.336 GB, free: 78.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008853/7.638, allocations: 0.6501 MB / 3.336 GB, free: 77.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.58e-05/7.638, allocations: 28.58 kB / 3.336 GB, free: 77.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003902/7.638, allocations: 460.8 kB / 3.337 GB, free: 77.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/7.639, allocations: 180.6 kB / 3.337 GB, free: 77.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/7.639, allocations: 3.125 kB / 3.337 GB, free: 77.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001307/7.639, allocations: 330.5 kB / 3.337 GB, free: 77.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/7.639, allocations: 303 kB / 3.338 GB, free: 76.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006676/7.64, allocations: 0.4996 MB / 3.338 GB, free: 76.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000825/7.641, allocations: 398 kB / 3.339 GB, free: 76.42 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/7.641, allocations: 0 / 3.339 GB, free: 76.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001581/7.642, allocations: 0.9136 MB / 3.339 GB, free: 76.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/7.642, allocations: 39.64 kB / 3.339 GB, free: 76.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/7.642, allocations: 3.344 kB / 3.339 GB, free: 76.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/7.642, allocations: 9.625 kB / 3.339 GB, free: 76.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009907/7.643, allocations: 215.9 kB / 3.34 GB, free: 76.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/7.643, allocations: 12.58 kB / 3.34 GB, free: 76.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/7.645, allocations: 265.9 kB / 3.34 GB, free: 76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/7.645, allocations: 43.38 kB / 3.34 GB, free: 76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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.0002162/7.645, allocations: 159.7 kB / 3.34 GB, free: 75.85 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001234/7.647, allocations: 0.7547 MB / 3.341 GB, free: 75.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/7.647, allocations: 97.06 kB / 3.341 GB, free: 75.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/7.648, allocations: 0.8393 MB / 3.342 GB, free: 75.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/7.648, allocations: 18.39 kB / 3.342 GB, free: 75.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/7.648, allocations: 0 / 3.342 GB, free: 75.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/7.648, allocations: 3 kB / 3.342 GB, free: 75.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003885/7.652, allocations: 2.958 MB / 3.345 GB, free: 73.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/7.652, allocations: 8.125 kB / 3.345 GB, free: 73.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005825/7.653, allocations: 126.1 kB / 3.345 GB, free: 73.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.52e-05/7.653, allocations: 17.19 kB / 3.345 GB, free: 73.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.446e-05/7.653, allocations: 23.17 kB / 3.345 GB, free: 73.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.34e-05/7.653, allocations: 21.66 kB / 3.345 GB, free: 73.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/7.653, allocations: 11.88 kB / 3.345 GB, free: 73.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/7.655, allocations: 1.558 MB / 3.346 GB, free: 72.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004034/7.655, allocations: 302.8 kB / 3.347 GB, free: 72.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/7.655, allocations: 17.28 kB / 3.347 GB, free: 72.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/7.656, allocations: 119.4 kB / 3.347 GB, free: 72.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.011e-05/7.656, allocations: 61.72 kB / 3.347 GB, free: 72.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/7.656, allocations: 43.05 kB / 3.347 GB, free: 72.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005885/7.657, allocations: 0.5015 MB / 3.347 GB, free: 71.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/7.657, allocations: 2.25 kB / 3.347 GB, free: 71.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001563/7.659, allocations: 411.8 kB / 3.348 GB, free: 71.71 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * 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.004516/7.663, allocations: 5.85 MB / 3.354 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001265/7.664, allocations: 0.7944 MB / 3.354 GB, free: 67 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/7.664, allocations: 4.25 kB / 3.354 GB, free: 67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005539/7.665, allocations: 459.6 kB / 3.355 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/7.667, allocations: 347.1 kB / 3.355 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/7.671, allocations: 1.717 MB / 3.357 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/7.672, allocations: 1.091 MB / 3.358 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00108/7.673, allocations: 251.5 kB / 3.358 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004897/7.673, allocations: 351.3 kB / 3.358 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of SimCode: time 1.253e-06/7.673, allocations: 0 / 3.358 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06908/7.742, allocations: 33.8 MB / 3.391 GB, free: 34.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/7.742, allocations: 188.5 kB / 3.392 GB, free: 34.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.269/11.01, allocations: 8.031 kB / 3.392 GB, free: 34.62 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)