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.001334/0.001334, allocations: 103 kB / 16.27 MB, free: 5.961 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.001496/0.001496, allocations: 189.8 kB / 17.2 MB, free: 5.59 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.237/1.237, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6977/0.6977, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 59.91 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3278, allocations: 77.93 MB / 0.5673 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4835/0.8114, allocations: 193.8 MB / 0.7565 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007693/0.8191, allocations: 5.152 MB / 0.7616 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.8202, allocations: 50.5 kB / 0.7616 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.8219, allocations: 0.8076 MB / 0.7624 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005648/0.8275, allocations: 2.604 MB / 0.7649 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.83, allocations: 1.108 MB / 0.766 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003113/0.8331, allocations: 2.671 MB / 0.7686 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.8343, allocations: 0.9469 MB / 0.7695 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.8361, allocations: 1.1 MB / 0.7706 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.8372, allocations: 0.9941 MB / 0.7716 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.8374, allocations: 91.38 kB / 0.7717 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.8407, allocations: 1.785 MB / 0.7734 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004116/0.8411, allocations: 456.8 kB / 0.7739 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007341/0.8418, allocations: 0.6624 MB / 0.7745 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003994/0.8458, allocations: 2.183 MB / 0.7766 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.8459, allocations: 0 / 0.7766 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8459, allocations: 0.9688 kB / 0.7766 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.771e-05/0.8459, allocations: 0 / 0.7766 GB, free: 1.324 MB / 0.5762 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.005405/0.8513, allocations: 1.952 MB / 0.7785 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.8514, allocations: 8.531 kB / 0.7786 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002249/0.8516, allocations: 146.6 kB / 0.7787 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005238/0.8569, allocations: 0.893 MB / 0.7796 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.8583, allocations: 0.9087 MB / 0.7805 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.056e-05/0.8584, allocations: 67.91 kB / 0.7805 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.8585, allocations: 89.83 kB / 0.7806 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003337/0.8619, allocations: 1.585 MB / 0.7822 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.8619, allocations: 3.188 kB / 0.7822 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.862, allocations: 31.19 kB / 0.7822 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.713e-05/0.8621, allocations: 57.39 kB / 0.7822 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004796/0.8669, allocations: 1.854 MB / 0.784 GB, free: 15.73 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.006901/0.8738, allocations: 4.747 MB / 0.7887 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004/0.8778, allocations: 1.572 MB / 0.7902 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/0.8799, allocations: 0.8449 MB / 0.791 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.8811, allocations: 0.9458 MB / 0.792 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002278/0.8834, allocations: 0.9134 MB / 0.7929 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.045e-06/0.8834, allocations: 0 / 0.7929 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.01033/0.8937, allocations: 2.451 MB / 0.7953 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.8938, allocations: 63.72 kB / 0.7953 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.8956, allocations: 1.195 MB / 0.7965 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/0.8958, allocations: 49.91 kB / 0.7965 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004729/0.8963, allocations: 0.5414 MB / 0.7971 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003707/0.8966, allocations: 323.9 kB / 0.7974 GB, free: 12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004377/0.8971, allocations: 195.2 kB / 0.7976 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.8973, allocations: 347.7 kB / 0.7979 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/0.9001, allocations: 0.6929 MB / 0.7986 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003044/0.9032, allocations: 0.9131 MB / 0.7995 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005733/0.9089, allocations: 1.547 MB / 0.801 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.9089, allocations: 2.312 kB / 0.801 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.006995/0.9159, allocations: 1.78 MB / 0.8027 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.916, allocations: 11.28 kB / 0.8027 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.916, allocations: 7.625 kB / 0.8027 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/0.916, allocations: 15.31 kB / 0.8027 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002448/0.9185, allocations: 339.9 kB / 0.8031 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.187e-05/0.9185, allocations: 10.16 kB / 0.8031 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/0.9208, allocations: 236.9 kB / 0.8033 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.9209, allocations: 52.05 kB / 0.8033 GB, free: 10.98 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.0006538/0.9216, allocations: 332.1 kB / 0.8037 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002401/0.9218, allocations: 136.5 kB / 0.8038 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004796/0.9266, allocations: 1.807 MB / 0.8056 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.9266, allocations: 11.22 kB / 0.8056 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.9267, allocations: 0 / 0.8056 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.9267, allocations: 3.984 kB / 0.8056 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007068/0.9337, allocations: 3.332 MB / 0.8088 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.9338, allocations: 7.031 kB / 0.8088 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/0.9354, allocations: 299.5 kB / 0.8091 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.9354, allocations: 8.531 kB / 0.8091 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.154e-05/0.9355, allocations: 29.62 kB / 0.8092 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.9355, allocations: 10.56 kB / 0.8092 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.9355, allocations: 6 kB / 0.8092 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006752/0.9422, allocations: 2.846 MB / 0.8119 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005423/0.9428, allocations: 325.1 kB / 0.8123 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.943, allocations: 29.2 kB / 0.8123 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.9443, allocations: 154.3 kB / 0.8124 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.9445, allocations: 73.17 kB / 0.8125 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.887e-05/0.9446, allocations: 41.31 kB / 0.8125 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008658/0.9454, allocations: 0.8356 MB / 0.8134 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9454, allocations: 0 / 0.8134 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009386/0.9464, allocations: 334.7 kB / 0.8137 GB, free: 7.391 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.00812/0.9545, allocations: 3.827 MB / 0.8174 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00518/0.9597, allocations: 1.781 MB / 0.8192 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.9597, allocations: 4.25 kB / 0.8192 GB, free: 4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002303/0.962, allocations: 0.8329 MB / 0.82 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/0.9649, allocations: 0.6206 MB / 0.8206 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02357/0.9885, allocations: 12.88 MB / 0.8332 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007658/0.9893, allocations: 1.186 MB / 0.8343 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001575/0.9909, allocations: 362 kB / 0.8347 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007746/0.9917, allocations: 0.507 MB / 0.8352 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of SimCode: time 7.82e-07/0.9917, allocations: 0 / 0.8352 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.652/2.644, allocations: 35.29 MB / 0.8696 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.975/11.62, allocations: 19.88 kB / 0.8696 GB, free: 1.125 MB / 0.6387 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/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)