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.001073/0.001072, allocations: 178.5 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4827/0.4827, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.3 MB / 348.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009134/0.0009133, allocations: 107.1 kB / 421.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.158e-05/4.169e-05, allocations: 4 kB / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4794, allocations: 72.31 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.176/5.655, allocations: 2.108 GB / 2.669 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/5.656, allocations: 87.14 kB / 2.669 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.361/8.017, allocations: 0.6581 GB / 3.327 GB, free: 94.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.273e-06/8.017, allocations: 0 / 3.327 GB, free: 94.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001008/8.017, allocations: 34.42 kB / 3.327 GB, free: 94.25 MB / 0.6198 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.004789/8.022, allocations: 1.487 MB / 3.328 GB, free: 93.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.164e-05/8.022, allocations: 15.58 kB / 3.328 GB, free: 93.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002193/8.022, allocations: 109.1 kB / 3.328 GB, free: 93.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003297/8.026, allocations: 0.5412 MB / 3.329 GB, free: 93.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02615/8.052, allocations: 13.16 MB / 3.342 GB, free: 92.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001179/8.053, allocations: 317.6 kB / 3.342 GB, free: 92.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/8.053, allocations: 70.75 kB / 3.342 GB, free: 92.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/8.055, allocations: 0.9836 MB / 3.343 GB, free: 92.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/8.055, allocations: 0 / 3.343 GB, free: 92.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-05/8.055, allocations: 27 kB / 3.343 GB, free: 92.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-05/8.055, allocations: 36.47 kB / 3.343 GB, free: 92.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/8.056, allocations: 0.7942 MB / 3.344 GB, free: 92.59 MB / 0.6198 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.00586/8.062, allocations: 3.319 MB / 3.347 GB, free: 91.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009033/8.063, allocations: 0.5696 MB / 3.348 GB, free: 91.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004326/8.063, allocations: 372.4 kB / 3.348 GB, free: 91.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00075/8.064, allocations: 1.026 MB / 3.349 GB, free: 90.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006353/8.065, allocations: 496.4 kB / 3.349 GB, free: 90.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=57): time 3.256e-06/8.065, allocations: 2 kB / 3.349 GB, free: 90.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.001687/8.066, allocations: 0.8422 MB / 3.35 GB, free: 90.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/8.067, allocations: 140.9 kB / 3.35 GB, free: 90.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/8.068, allocations: 0.9527 MB / 3.351 GB, free: 90 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.045e-05/8.068, allocations: 39.52 kB / 3.351 GB, free: 89.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000321/8.068, allocations: 437.4 kB / 3.352 GB, free: 89.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/8.068, allocations: 191.9 kB / 3.352 GB, free: 89.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/8.068, allocations: 13.34 kB / 3.352 GB, free: 89.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/8.068, allocations: 326.2 kB / 3.352 GB, free: 89.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/8.069, allocations: 315.6 kB / 3.353 GB, free: 89.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006098/8.07, allocations: 0.5141 MB / 3.353 GB, free: 89.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005465/8.07, allocations: 375.7 kB / 3.353 GB, free: 89.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/8.07, allocations: 6.438 kB / 3.353 GB, free: 89.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001484/8.072, allocations: 0.9698 MB / 3.354 GB, free: 89.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/8.072, allocations: 41.55 kB / 3.354 GB, free: 89.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/8.072, allocations: 3.906 kB / 3.354 GB, free: 89.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/8.072, allocations: 10.77 kB / 3.354 GB, free: 89.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009986/8.073, allocations: 219.1 kB / 3.355 GB, free: 89.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/8.073, allocations: 7.203 kB / 3.355 GB, free: 89.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/8.074, allocations: 307.5 kB / 3.355 GB, free: 89.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/8.075, allocations: 53.2 kB / 3.355 GB, free: 89.03 MB / 0.6198 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.000205/8.075, allocations: 182.3 kB / 3.355 GB, free: 88.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/8.075, allocations: 115.4 kB / 3.355 GB, free: 88.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/8.076, allocations: 0.9292 MB / 3.356 GB, free: 88.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/8.076, allocations: 7.031 kB / 3.356 GB, free: 88.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/8.076, allocations: 9.828 kB / 3.356 GB, free: 88.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/8.077, allocations: 3.422 kB / 3.356 GB, free: 88.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003752/8.08, allocations: 3.154 MB / 3.359 GB, free: 87.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/8.08, allocations: 8.625 kB / 3.359 GB, free: 87.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/8.081, allocations: 126.7 kB / 3.359 GB, free: 87.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/8.081, allocations: 17.03 kB / 3.359 GB, free: 87.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.468e-05/8.081, allocations: 25.52 kB / 3.359 GB, free: 87.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/8.081, allocations: 15.5 kB / 3.359 GB, free: 87.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/8.081, allocations: 8.469 kB / 3.36 GB, free: 87.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/8.083, allocations: 1.689 MB / 3.361 GB, free: 86.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000496/8.083, allocations: 338 kB / 3.361 GB, free: 86.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/8.083, allocations: 26.28 kB / 3.362 GB, free: 86.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/8.084, allocations: 123.5 kB / 3.362 GB, free: 86.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/8.084, allocations: 65.47 kB / 3.362 GB, free: 86.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.897e-05/8.085, allocations: 45.83 kB / 3.362 GB, free: 86.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008448/8.085, allocations: 0.7422 MB / 3.362 GB, free: 86.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/8.085, allocations: 2.953 kB / 3.362 GB, free: 86.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001501/8.087, allocations: 436.3 kB / 3.363 GB, free: 86.61 MB / 0.6198 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.004336/8.091, allocations: 5.778 MB / 3.369 GB, free: 82.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001345/8.093, allocations: 0.8397 MB / 3.369 GB, free: 82.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/8.093, allocations: 0 / 3.369 GB, free: 82.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005703/8.093, allocations: 487.2 kB / 3.37 GB, free: 82.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/8.096, allocations: 0.5222 MB / 3.37 GB, free: 82.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/8.1, allocations: 1.819 MB / 3.372 GB, free: 81.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/8.101, allocations: 1.088 MB / 3.373 GB, free: 81.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001275/8.102, allocations: 287.6 kB / 3.373 GB, free: 81.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005443/8.102, allocations: 360.8 kB / 3.374 GB, free: 81.08 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/8.102, allocations: 1.125 kB / 3.374 GB, free: 81.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07678/8.179, allocations: 55.25 MB / 3.428 GB, free: 51.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/8.179, allocations: 208.3 kB / 3.428 GB, free: 50.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.727/11.91, allocations: 4 kB / 3.428 GB, free: 50.84 MB / 0.6198 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)