Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.006663/0.006664, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.00183/0.00183, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002385/0.002385, allocations: 281.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9591/0.9591, allocations: 169.2 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 91.84 kB / 0.681 GB, free: 7.438 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4295, allocations: 86.98 MB / 0.7659 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2027/0.6322, allocations: 193.8 MB / 0.9552 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4181/1.05, allocations: 5.131 MB / 0.9602 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/1.052, allocations: 46.12 kB / 0.9603 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00197/1.054, allocations: 0.8111 MB / 0.9611 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00617/1.06, allocations: 2.602 MB / 0.9636 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003088/1.063, allocations: 1.104 MB / 0.9647 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003423/1.066, allocations: 2.602 MB / 0.9672 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/1.068, allocations: 0.8926 MB / 0.9681 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/1.07, allocations: 1.082 MB / 0.9691 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/1.071, allocations: 0.9572 MB / 0.9701 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002015/1.071, allocations: 80.25 kB / 0.9702 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003127/1.074, allocations: 1.784 MB / 0.9719 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004477/1.075, allocations: 439.3 kB / 0.9723 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008608/1.076, allocations: 0.6447 MB / 0.9729 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003217/1.079, allocations: 2.189 MB / 0.9751 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.079, allocations: 1.031 kB / 0.9751 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/1.079, allocations: 0 / 0.9751 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.278e-05/1.079, allocations: 0 / 0.9751 GB, free: 1.496 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004808/1.084, allocations: 1.936 MB / 0.977 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/1.084, allocations: 10.47 kB / 0.977 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/1.084, allocations: 139.1 kB / 0.9771 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004241/1.088, allocations: 0.7013 MB / 0.9778 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/1.09, allocations: 0.9529 MB / 0.9787 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/1.09, allocations: 65.41 kB / 0.9788 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/1.09, allocations: 92.64 kB / 0.9789 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/1.093, allocations: 1.467 MB / 0.9803 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/1.093, allocations: 4.625 kB / 0.9803 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/1.093, allocations: 40.02 kB / 0.9804 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.894e-05/1.093, allocations: 49.23 kB / 0.9804 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003804/1.097, allocations: 1.558 MB / 0.9819 GB, free: 15.86 MB / 0.7325 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.005979/1.103, allocations: 5.018 MB / 0.9868 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003123/1.106, allocations: 1.179 MB / 0.988 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/1.108, allocations: 0.6678 MB / 0.9886 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/1.109, allocations: 0.9402 MB / 0.9896 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001741/1.111, allocations: 0.7329 MB / 0.9903 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.745e-06/1.111, allocations: 0 / 0.9903 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.005731/1.116, allocations: 1.948 MB / 0.9922 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/1.116, allocations: 65.28 kB / 0.9922 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/1.118, allocations: 1.269 MB / 0.9935 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-05/1.118, allocations: 41.58 kB / 0.9935 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/1.118, allocations: 0.573 MB / 0.9941 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/1.119, allocations: 279.5 kB / 0.9943 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/1.119, allocations: 184.5 kB / 0.9945 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.119, allocations: 346.7 kB / 0.9948 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/1.121, allocations: 0.5506 MB / 0.9954 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/1.122, allocations: 0.8183 MB / 0.9962 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003168/1.126, allocations: 1.341 MB / 0.9975 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.126, allocations: 2.688 kB / 0.9975 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003734/1.129, allocations: 1.514 MB / 0.999 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.129, allocations: 7.375 kB / 0.999 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.129, allocations: 9.875 kB / 0.999 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/1.129, allocations: 13.41 kB / 0.999 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/1.131, allocations: 290 kB / 0.9993 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/1.131, allocations: 17.55 kB / 0.9993 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/1.132, allocations: 205.5 kB / 0.9995 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.526e-05/1.132, allocations: 47.89 kB / 0.9995 GB, free: 10.53 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0005074/1.133, allocations: 341.9 kB / 0.9999 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/1.133, allocations: 136.3 kB / 1 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003732/1.137, allocations: 1.456 MB / 1.001 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/1.137, allocations: 6.781 kB / 1.001 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.137, allocations: 0 / 1.001 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/1.137, allocations: 5.766 kB / 1.001 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005616/1.142, allocations: 2.858 MB / 1.004 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/1.142, allocations: 5.031 kB / 1.004 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.144, allocations: 225.3 kB / 1.004 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/1.144, allocations: 6.266 kB / 1.004 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-05/1.144, allocations: 34.59 kB / 1.004 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/1.144, allocations: 6.75 kB / 1.004 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.144, allocations: 12.69 kB / 1.004 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005424/1.149, allocations: 2.301 MB / 1.007 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005621/1.15, allocations: 307.1 kB / 1.007 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/1.15, allocations: 22.45 kB / 1.007 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.151, allocations: 109.8 kB / 1.007 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/1.151, allocations: 68.36 kB / 1.007 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.33e-05/1.151, allocations: 35.28 kB / 1.007 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009647/1.152, allocations: 0.8739 MB / 1.008 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.262e-06/1.152, allocations: 0 / 1.008 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009667/1.153, allocations: 319.2 kB / 1.008 GB, free: 8.996 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.006801/1.16, allocations: 3.295 MB / 1.012 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003807/1.164, allocations: 1.316 MB / 1.013 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.164, allocations: 1.219 kB / 1.013 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/1.166, allocations: 0.6578 MB / 1.014 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/1.169, allocations: 0.6253 MB / 1.014 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01891/1.187, allocations: 11.11 MB / 1.025 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/1.188, allocations: 1.174 MB / 1.026 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00132/1.189, allocations: 344.1 kB / 1.026 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007046/1.19, allocations: 498.5 kB / 1.027 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of SimCode: time 7.42e-07/1.19, allocations: 0 / 1.027 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.491/4.681, allocations: 35.02 MB / 1.061 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/17.49, allocations: 14.59 kB / 1.061 GB, free: 0.7031 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)