Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_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.000884/0.0008838, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.005917/0.005918, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00172/0.00172, allocations: 266.4 kB / 291.7 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9117/0.9117, allocations: 169.5 MB / 0.5004 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004346, allocations: 13.06 kB / 0.5988 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1848, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5162/0.701, allocations: 189 MB / 0.8698 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008674/0.7097, allocations: 5.134 MB / 0.8748 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.7111, allocations: 38.5 kB / 0.8748 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.7131, allocations: 0.715 MB / 0.8755 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005984/0.7191, allocations: 2.449 MB / 0.8779 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.7216, allocations: 0.9994 MB / 0.8789 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003932/0.7255, allocations: 3.615 MB / 0.8824 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.7268, allocations: 0.8461 MB / 0.8833 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.7286, allocations: 0.9958 MB / 0.8842 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.7299, allocations: 1.003 MB / 0.8852 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.73, allocations: 51.94 kB / 0.8853 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00352/0.7335, allocations: 2.073 MB / 0.8873 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004166/0.7339, allocations: 414.5 kB / 0.8877 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006839/0.7346, allocations: 0.6432 MB / 0.8883 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003114/0.7377, allocations: 2.243 MB / 0.8905 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7378, allocations: 4 kB / 0.8905 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.664e-06/0.7378, allocations: 0 / 0.8905 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.7378, allocations: 4 kB / 0.8905 GB, free: 13.61 MB / 0.6075 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.004632/0.7424, allocations: 1.693 MB / 0.8922 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.7425, allocations: 12.03 kB / 0.8922 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001981/0.7427, allocations: 139.6 kB / 0.8923 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005642/0.7483, allocations: 0.9277 MB / 0.8932 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.7499, allocations: 0.9136 MB / 0.8941 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-05/0.75, allocations: 69.98 kB / 0.8942 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.7502, allocations: 88 kB / 0.8943 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003652/0.7539, allocations: 1.579 MB / 0.8958 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.7539, allocations: 3.984 kB / 0.8958 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.754, allocations: 36 kB / 0.8958 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.459e-05/0.7541, allocations: 53.98 kB / 0.8959 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005253/0.7594, allocations: 1.838 MB / 0.8977 GB, free: 6.109 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.007334/0.7667, allocations: 4.762 MB / 0.9023 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004438/0.7712, allocations: 1.588 MB / 0.9039 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002331/0.7735, allocations: 0.8524 MB / 0.9047 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/0.7748, allocations: 0.9569 MB / 0.9056 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002513/0.7773, allocations: 0.9028 MB / 0.9065 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 3.166e-06/0.7773, allocations: 4 kB / 0.9065 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007842/0.7852, allocations: 2.45 MB / 0.9089 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.7853, allocations: 64.41 kB / 0.909 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.7867, allocations: 1.193 MB / 0.9102 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.7868, allocations: 53.69 kB / 0.9102 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.7872, allocations: 0.5369 MB / 0.9107 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000298/0.7875, allocations: 327.4 kB / 0.911 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.7877, allocations: 81.67 kB / 0.9111 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.7878, allocations: 341.9 kB / 0.9114 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/0.79, allocations: 0.6967 MB / 0.9121 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.7924, allocations: 0.9074 MB / 0.913 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004443/0.7968, allocations: 1.565 MB / 0.9145 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.7969, allocations: 0 / 0.9145 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005116/0.802, allocations: 1.764 MB / 0.9163 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.802, allocations: 8 kB / 0.9163 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.802, allocations: 4.094 kB / 0.9163 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.8021, allocations: 16.36 kB / 0.9163 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.8038, allocations: 339.5 kB / 0.9166 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.8039, allocations: 12 kB / 0.9166 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.8056, allocations: 258.7 kB / 0.9169 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.8057, allocations: 47.97 kB / 0.9169 GB, free: 1.781 MB / 0.6231 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.0005735/0.8063, allocations: 336.4 kB / 0.9172 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.8065, allocations: 134.3 kB / 0.9174 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005161/0.8117, allocations: 1.796 MB / 0.9191 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.8117, allocations: 8 kB / 0.9191 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.8117, allocations: 4 kB / 0.9191 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.8117, allocations: 7.984 kB / 0.9191 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0072/0.8189, allocations: 3.332 MB / 0.9224 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.819, allocations: 4 kB / 0.9224 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/0.8206, allocations: 292 kB / 0.9227 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.8206, allocations: 8 kB / 0.9227 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.424e-05/0.8207, allocations: 31.97 kB / 0.9227 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-05/0.8207, allocations: 8 kB / 0.9227 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/0.8208, allocations: 11.92 kB / 0.9227 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007308/0.8281, allocations: 2.835 MB / 0.9255 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005967/0.8287, allocations: 331.1 kB / 0.9258 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.8289, allocations: 28.12 kB / 0.9258 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.8303, allocations: 175.7 kB / 0.926 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.8305, allocations: 80.44 kB / 0.9261 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.799e-05/0.8306, allocations: 35.97 kB / 0.9261 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001007/0.8316, allocations: 0.8315 MB / 0.9269 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8316, allocations: 3.938 kB / 0.9269 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009912/0.8326, allocations: 343.6 kB / 0.9273 GB, free: 6.965 MB / 0.6387 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.008696/0.8413, allocations: 3.82 MB / 0.931 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004751/0.8461, allocations: 1.615 MB / 0.9326 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.8461, allocations: 0 / 0.9326 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002361/0.8485, allocations: 0.8438 MB / 0.9334 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/0.852, allocations: 0.5865 MB / 0.934 GB, free: 208 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02488/0.8769, allocations: 13.35 MB / 0.947 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007134/0.8776, allocations: 1.187 MB / 0.9482 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001554/0.8792, allocations: 362 kB / 0.9485 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007748/0.8799, allocations: 0.4993 MB / 0.949 GB, free: 224 kB / 0.6544 GB Notification: Performance of SimCode: time 4.71e-07/0.8799, allocations: 0 / 0.949 GB, free: 224 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05158/0.9315, allocations: 33.69 MB / 0.9819 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/0.9318, allocations: 266.2 kB / 0.9821 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/3.539, allocations: 3.375 kB / 0.9821 GB, free: 14.76 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)