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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001118, allocations: 106.2 kB / 16.4 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 193.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6988/0.6988, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 68.84 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.139, allocations: 76.18 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5359/0.6749, allocations: 194 MB / 0.821 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009622/0.6846, allocations: 6.936 MB / 0.8278 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001848/0.6865, allocations: 45.28 kB / 0.8278 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.6886, allocations: 0.6943 MB / 0.8285 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006494/0.6952, allocations: 2.341 MB / 0.8308 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003793/0.699, allocations: 1.421 MB / 0.8322 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004494/0.7035, allocations: 2.997 MB / 0.8351 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.7052, allocations: 0.8892 MB / 0.836 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003284/0.7085, allocations: 1.144 MB / 0.8371 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.7104, allocations: 0.8016 MB / 0.8379 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004065/0.7109, allocations: 100.6 kB / 0.838 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004431/0.7153, allocations: 2.059 MB / 0.84 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006439/0.716, allocations: 369.2 kB / 0.8403 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.7172, allocations: 0.5883 MB / 0.8409 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005097/0.7223, allocations: 2.387 MB / 0.8433 GB, free: 68 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7223, allocations: 4 kB / 0.8433 GB, free: 64 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7223, allocations: 0 / 0.8433 GB, free: 64 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.1e-05/0.7224, allocations: 1.812 kB / 0.8433 GB, free: 64 kB / 0.5919 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.004304/0.7267, allocations: 1.633 MB / 0.8449 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.7268, allocations: 9.375 kB / 0.8449 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002063/0.727, allocations: 112.4 kB / 0.845 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00298/0.73, allocations: 0.5394 MB / 0.8455 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002414/0.7324, allocations: 1.034 MB / 0.8465 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.944e-05/0.7325, allocations: 55.19 kB / 0.8466 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.7326, allocations: 69.69 kB / 0.8466 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.7351, allocations: 1.11 MB / 0.8477 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.7352, allocations: 0 / 0.8477 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.902e-05/0.7353, allocations: 28.94 kB / 0.8477 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/0.7353, allocations: 26.81 kB / 0.8478 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002969/0.7383, allocations: 1.167 MB / 0.8489 GB, free: 12.03 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006192/0.7445, allocations: 3.17 MB / 0.852 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.7462, allocations: 0.69 MB / 0.8527 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007889/0.747, allocations: 422.8 kB / 0.8531 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009198/0.748, allocations: 1.024 MB / 0.8541 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.749, allocations: 0.5065 MB / 0.8546 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 2.905e-06/0.749, allocations: 0 / 0.8546 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.003068/0.7521, allocations: 1.229 MB / 0.8558 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/0.7522, allocations: 140.8 kB / 0.8559 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/0.7544, allocations: 1.18 MB / 0.8571 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.7545, allocations: 37.7 kB / 0.8571 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.7549, allocations: 436.3 kB / 0.8575 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.7551, allocations: 192.6 kB / 0.8577 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/0.7554, allocations: 146 kB / 0.8578 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7555, allocations: 334 kB / 0.8582 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.7567, allocations: 436.9 kB / 0.8586 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.7581, allocations: 0.5961 MB / 0.8591 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/0.76, allocations: 0.9262 MB / 0.8601 GB, free: 132 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.76, allocations: 3.938 kB / 0.8601 GB, free: 128 kB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003016/0.763, allocations: 1.19 MB / 0.8612 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.7631, allocations: 44.5 kB / 0.8613 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.7631, allocations: 4 kB / 0.8613 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.7632, allocations: 8 kB / 0.8613 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009257/0.7641, allocations: 191.9 kB / 0.8615 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.7641, allocations: 11.88 kB / 0.8615 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.7657, allocations: 238.9 kB / 0.8617 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.7658, allocations: 39.98 kB / 0.8617 GB, free: 14.39 MB / 0.6231 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 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005687/0.7664, allocations: 327.3 kB / 0.862 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003203/0.7667, allocations: 118.6 kB / 0.8622 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.7689, allocations: 0.9935 MB / 0.8631 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.769, allocations: 7.938 kB / 0.8631 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.769, allocations: 4 kB / 0.8631 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.769, allocations: 3.984 kB / 0.8631 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005095/0.7741, allocations: 3.158 MB / 0.8662 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.976e-05/0.7741, allocations: 8 kB / 0.8662 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/0.7747, allocations: 123.8 kB / 0.8664 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/0.7748, allocations: 12 kB / 0.8664 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.7748, allocations: 28.16 kB / 0.8664 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/0.7749, allocations: 15.92 kB / 0.8664 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.7749, allocations: 11.94 kB / 0.8664 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.7771, allocations: 1.349 MB / 0.8677 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007081/0.7779, allocations: 331.4 kB / 0.8681 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002986/0.7782, allocations: 20.23 kB / 0.8681 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.7794, allocations: 99.89 kB / 0.8682 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.7796, allocations: 63.7 kB / 0.8682 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.7797, allocations: 43.95 kB / 0.8683 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001602/0.7813, allocations: 0.8521 MB / 0.8691 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7813, allocations: 0 / 0.8691 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001243/0.7826, allocations: 299.8 kB / 0.8694 GB, free: 6.238 MB / 0.6231 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003291/0.7859, allocations: 2.125 MB / 0.8715 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002387/0.7883, allocations: 1.017 MB / 0.8725 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.7883, allocations: 4 kB / 0.8725 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009255/0.7892, allocations: 0.5141 MB / 0.873 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/0.7922, allocations: 0.5443 MB / 0.8735 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/0.8091, allocations: 9.363 MB / 0.8826 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007694/0.81, allocations: 1.077 MB / 0.8837 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001112/0.8111, allocations: 283.2 kB / 0.884 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000583/0.8117, allocations: 359.3 kB / 0.8843 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of SimCode: time 8.71e-07/0.8117, allocations: 0 / 0.8843 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06134/0.873, allocations: 32.23 MB / 0.9158 GB, free: 6.535 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.379/10.25, allocations: 7.688 kB / 0.9158 GB, free: 6.527 MB / 0.67 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/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)