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: translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.001159, allocations: 89.34 kB / 16.66 MB, free: 5.742 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.001369/0.00137, allocations: 182.7 kB / 17.58 MB, free: 5.477 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.416/1.416, allocations: 223.3 MB / 241.6 MB, free: 14.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7653/0.7653, allocations: 115.5 MB / 408.2 MB, free: 7.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003853, allocations: 8 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4462, allocations: 77.52 MB / 0.5606 GB, free: 35.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2203/0.6666, allocations: 189 MB / 0.7451 GB, free: 5.836 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.00994/0.6766, allocations: 5.132 MB / 0.7501 GB, free: 0.6914 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.6786, allocations: 39.69 kB / 0.7502 GB, free: 0.6523 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.4481/1.127, allocations: 0.7098 MB / 0.7509 GB, free: 2.363 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.007943/1.135, allocations: 2.443 MB / 0.7533 GB, free: 2.348 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.003502/1.138, allocations: 1.003 MB / 0.7542 GB, free: 2.332 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.006971/1.145, allocations: 3.611 MB / 0.7578 GB, free: 2.324 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002708/1.148, allocations: 0.8507 MB / 0.7586 GB, free: 2.25 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003688/1.152, allocations: 0.9988 MB / 0.7596 GB, free: 2.246 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002861/1.155, allocations: 1.006 MB / 0.7606 GB, free: 2.242 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0005415/1.155, allocations: 47.94 kB / 0.7606 GB, free: 2.242 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006415/1.162, allocations: 2.065 MB / 0.7626 GB, free: 2.223 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001325/1.163, allocations: 414.6 kB / 0.763 GB, free: 2.223 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002711/1.166, allocations: 0.6469 MB / 0.7636 GB, free: 2.191 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.00432/1.17, allocations: 1.52 MB / 0.7651 GB, free: 2.059 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/1.17, allocations: 2.953 kB / 0.7651 GB, free: 2.059 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.725e-06/1.17, allocations: 1.312 kB / 0.7651 GB, free: 2.059 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001004/1.17, allocations: 0 / 0.7651 GB, free: 2.059 MB / 0.5763 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.007474/1.178, allocations: 1.712 MB / 0.7668 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.646e-05/1.178, allocations: 14.47 kB / 0.7668 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00638/1.184, allocations: 0.9227 MB / 0.7677 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002406/1.187, allocations: 0.902 MB / 0.7686 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/1.187, allocations: 76.78 kB / 0.7687 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004376/1.187, allocations: 89.33 kB / 0.7688 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004802/1.192, allocations: 1.585 MB / 0.7703 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.687e-05/1.192, allocations: 0 / 0.7703 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/1.192, allocations: 35.72 kB / 0.7703 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.66e-05/1.192, allocations: 54.3 kB / 0.7704 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006116/1.198, allocations: 1.846 MB / 0.7722 GB, free: 16.46 MB / 0.5919 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.01055/1.209, allocations: 4.755 MB / 0.7768 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005114/1.214, allocations: 1.586 MB / 0.7784 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002742/1.217, allocations: 0.8457 MB / 0.7792 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001651/1.219, allocations: 0.9605 MB / 0.7802 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002709/1.221, allocations: 0.9083 MB / 0.781 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.767e-06/1.221, allocations: 0 / 0.781 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.008141/1.23, allocations: 2.452 MB / 0.7834 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/1.23, allocations: 60.44 kB / 0.7835 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/1.232, allocations: 1.198 MB / 0.7847 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001844/1.232, allocations: 46.48 kB / 0.7847 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000516/1.232, allocations: 0.5448 MB / 0.7852 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004179/1.233, allocations: 323.5 kB / 0.7855 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/1.233, allocations: 87.31 kB / 0.7856 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.233, allocations: 339.1 kB / 0.786 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/1.235, allocations: 0.7016 MB / 0.7866 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/1.238, allocations: 0.9079 MB / 0.7875 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004443/1.242, allocations: 1.547 MB / 0.789 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/1.242, allocations: 2.375 kB / 0.789 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005127/1.247, allocations: 1.775 MB / 0.7908 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.247, allocations: 6.062 kB / 0.7908 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.247, allocations: 2.906 kB / 0.7908 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/1.247, allocations: 8.406 kB / 0.7908 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/1.249, allocations: 344.5 kB / 0.7911 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/1.249, allocations: 8.969 kB / 0.7911 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/1.251, allocations: 257.4 kB / 0.7914 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/1.251, allocations: 51.28 kB / 0.7914 GB, free: 11.73 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 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007399/1.252, allocations: 333.8 kB / 0.7917 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/1.252, allocations: 134 kB / 0.7919 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005211/1.258, allocations: 1.801 MB / 0.7936 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/1.258, allocations: 8.969 kB / 0.7936 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.258, allocations: 3.5 kB / 0.7936 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/1.258, allocations: 3.984 kB / 0.7936 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008263/1.266, allocations: 3.34 MB / 0.7969 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/1.266, allocations: 6.781 kB / 0.7969 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/1.268, allocations: 292.4 kB / 0.7972 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.139e-05/1.268, allocations: 12.19 kB / 0.7972 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/1.268, allocations: 31.06 kB / 0.7972 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.568e-05/1.268, allocations: 12.28 kB / 0.7972 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/1.268, allocations: 2.906 kB / 0.7972 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008144/1.276, allocations: 2.836 MB / 0.8 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.277, allocations: 341.4 kB / 0.8003 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004998/1.278, allocations: 24.8 kB / 0.8004 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/1.28, allocations: 170.2 kB / 0.8005 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/1.28, allocations: 76.94 kB / 0.8006 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.28, allocations: 42.06 kB / 0.8006 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001575/1.282, allocations: 0.8262 MB / 0.8014 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/1.282, allocations: 2.469 kB / 0.8014 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001522/1.283, allocations: 344.6 kB / 0.8018 GB, free: 8.504 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 (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.001536/1.285, allocations: 0.5348 MB / 0.8023 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004955/1.29, allocations: 1.616 MB / 0.8039 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.29, allocations: 0 / 0.8039 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002412/1.292, allocations: 0.8376 MB / 0.8047 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003907/1.296, allocations: 0.5875 MB / 0.8053 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006898/1.303, allocations: 3.566 MB / 0.8087 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008365/1.304, allocations: 1.184 MB / 0.8099 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007293/1.305, allocations: 129 kB / 0.81 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/1.305, allocations: 2.906 kB / 0.81 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of Templates: time 0.0389/1.344, allocations: 21.38 MB / 0.8309 GB, free: 2.305 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)