Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",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.0006821/0.0006821, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007329/0.000733, allocations: 172.7 kB / 16.58 MB, free: 6.484 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.168/1.168, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.607/0.607, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002721, allocations: 8 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.383/0.4995, allocations: 176.3 MB / 0.7291 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007452/0.507, allocations: 4.88 MB / 0.7338 GB, free: 5.676 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.5082, allocations: 39.69 kB / 0.7339 GB, free: 5.637 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.5098, allocations: 0.6218 MB / 0.7345 GB, free: 5.012 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004573/0.5144, allocations: 1.886 MB / 0.7363 GB, free: 3.117 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.5166, allocations: 0.9107 MB / 0.7372 GB, free: 2.219 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003244/0.5198, allocations: 3.081 MB / 0.7402 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.5211, allocations: 0.7777 MB / 0.741 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.523, allocations: 0.9882 MB / 0.7419 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/0.5245, allocations: 0.9497 MB / 0.7429 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000249/0.5247, allocations: 48 kB / 0.7429 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002326/0.5271, allocations: 0.9392 MB / 0.7438 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005297/0.5276, allocations: 402.7 kB / 0.7442 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004438/0.5281, allocations: 272.9 kB / 0.7445 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.5299, allocations: 1.383 MB / 0.7458 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5299, allocations: 0 / 0.7458 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5299, allocations: 3.938 kB / 0.7458 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.5299, allocations: 0 / 0.7458 GB, free: 9.34 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003964/0.5339, allocations: 1.717 MB / 0.7475 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.5339, allocations: 8.031 kB / 0.7475 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.5341, allocations: 143.5 kB / 0.7476 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004547/0.5386, allocations: 0.9306 MB / 0.7486 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.5398, allocations: 0.8563 MB / 0.7494 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.5399, allocations: 69.98 kB / 0.7495 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.5401, allocations: 99.89 kB / 0.7496 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003056/0.5431, allocations: 1.567 MB / 0.7511 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.5432, allocations: 7.875 kB / 0.7511 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.5433, allocations: 46.34 kB / 0.7511 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-05/0.5433, allocations: 49.98 kB / 0.7512 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004286/0.5476, allocations: 1.831 MB / 0.753 GB, free: 1.871 MB / 0.5606 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.006552/0.5542, allocations: 4.762 MB / 0.7576 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003698/0.5579, allocations: 1.579 MB / 0.7592 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001909/0.5598, allocations: 0.8514 MB / 0.76 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/0.561, allocations: 0.9608 MB / 0.7609 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001998/0.563, allocations: 0.8992 MB / 0.7618 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 3.056e-06/0.563, allocations: 0 / 0.7618 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.006277/0.5693, allocations: 2.443 MB / 0.7642 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.5693, allocations: 64.36 kB / 0.7643 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.5706, allocations: 1.189 MB / 0.7654 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.638e-05/0.5707, allocations: 49.7 kB / 0.7655 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003742/0.571, allocations: 0.5448 MB / 0.766 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.5713, allocations: 323.3 kB / 0.7663 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.5714, allocations: 20 kB / 0.7663 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5715, allocations: 349.9 kB / 0.7667 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.5732, allocations: 0.685 MB / 0.7673 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/0.5751, allocations: 0.9035 MB / 0.7682 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.5769, allocations: 0.7251 MB / 0.7689 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.5769, allocations: 4 kB / 0.7689 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00405/0.581, allocations: 1.764 MB / 0.7706 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.581, allocations: 10.34 kB / 0.7707 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.581, allocations: 4 kB / 0.7707 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.581, allocations: 8 kB / 0.7707 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.5826, allocations: 343.8 kB / 0.771 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.5826, allocations: 8 kB / 0.771 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.584, allocations: 262.7 kB / 0.7713 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.77e-05/0.5841, allocations: 47.97 kB / 0.7713 GB, free: 14.55 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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 prepare postOptimizeDAE: time 0.0004639/0.5846, allocations: 332.3 kB / 0.7716 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.5847, allocations: 138.3 kB / 0.7718 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004208/0.5889, allocations: 1.792 MB / 0.7735 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.589, allocations: 8 kB / 0.7735 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.589, allocations: 0 / 0.7735 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.589, allocations: 3.984 kB / 0.7735 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005951/0.5949, allocations: 3.34 MB / 0.7768 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.595, allocations: 4 kB / 0.7768 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/0.5964, allocations: 287.7 kB / 0.7771 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.5964, allocations: 8 kB / 0.7771 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.162e-05/0.5965, allocations: 31.97 kB / 0.7771 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.5965, allocations: 11.95 kB / 0.7771 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.5965, allocations: 7.938 kB / 0.7771 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005967/0.6025, allocations: 2.828 MB / 0.7799 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004823/0.603, allocations: 327.1 kB / 0.7802 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.6032, allocations: 28.08 kB / 0.7802 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.6044, allocations: 179.7 kB / 0.7804 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.6045, allocations: 72.45 kB / 0.7805 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.253e-05/0.6046, allocations: 43.97 kB / 0.7805 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008458/0.6055, allocations: 0.8236 MB / 0.7813 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6055, allocations: 0 / 0.7813 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008608/0.6064, allocations: 339.5 kB / 0.7816 GB, free: 3.762 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.007184/0.6136, allocations: 3.805 MB / 0.7853 GB, free: 68 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003949/0.6175, allocations: 1.615 MB / 0.7869 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6175, allocations: 0 / 0.7869 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001953/0.6195, allocations: 0.8283 MB / 0.7877 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/0.6221, allocations: 0.5848 MB / 0.7883 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01635/0.6385, allocations: 9.531 MB / 0.7976 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/0.6392, allocations: 1.19 MB / 0.7988 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00155/0.6407, allocations: 362 kB / 0.7991 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000755/0.6415, allocations: 0.5031 MB / 0.7996 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of SimCode: time 7.02e-07/0.6415, allocations: 0 / 0.7996 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2655/0.907, allocations: 33.73 MB / 0.8325 GB, free: 214.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001204/0.9072, allocations: 232.1 kB / 0.8328 GB, free: 214.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/3.148, allocations: 1.094 kB / 0.8328 GB, free: 214.4 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) Environment - environmentSimulation: