Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.005386/0.005386, allocations: 99.5 kB / 15.73 MB, free: 5.996 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.001186/0.001186, allocations: 199.5 kB / 16.68 MB, free: 5.918 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.22/1.22, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 289.9 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8659/0.8659, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002898/0.002898, allocations: 99.83 kB / 0.681 GB, free: 7.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.408, allocations: 86.98 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.175/0.5831, allocations: 193.8 MB / 0.9552 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4018/0.9849, allocations: 5.132 MB / 0.9602 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009504/0.9859, allocations: 46.5 kB / 0.9603 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.9878, allocations: 0.8118 MB / 0.9611 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005387/0.9932, allocations: 2.601 MB / 0.9636 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.9956, allocations: 1.11 MB / 0.9647 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002852/0.9985, allocations: 2.612 MB / 0.9672 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.9995, allocations: 0.8925 MB / 0.9681 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/1.001, allocations: 1.103 MB / 0.9692 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009982/1.002, allocations: 0.9581 MB / 0.9701 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/1.002, allocations: 78.34 kB / 0.9702 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/1.005, allocations: 1.784 MB / 0.9719 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003652/1.006, allocations: 432.5 kB / 0.9723 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005961/1.006, allocations: 0.6472 MB / 0.973 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002532/1.009, allocations: 2.169 MB / 0.9751 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/1.009, allocations: 0.9375 kB / 0.9751 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/1.009, allocations: 3.844 kB / 0.9751 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.377e-05/1.009, allocations: 0 / 0.9751 GB, free: 1.441 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.004403/1.013, allocations: 1.929 MB / 0.977 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/1.013, allocations: 12.28 kB / 0.977 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/1.013, allocations: 136.2 kB / 0.9771 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003545/1.017, allocations: 0.6648 MB / 0.9778 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/1.018, allocations: 0.9408 MB / 0.9787 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/1.018, allocations: 72.88 kB / 0.9788 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/1.019, allocations: 88.69 kB / 0.9788 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/1.021, allocations: 1.468 MB / 0.9803 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/1.021, allocations: 6.656 kB / 0.9803 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.419e-05/1.021, allocations: 41.03 kB / 0.9803 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/1.021, allocations: 45.58 kB / 0.9804 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003282/1.025, allocations: 1.52 MB / 0.9819 GB, free: 15.76 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.006094/1.031, allocations: 5.472 MB / 0.9872 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003061/1.034, allocations: 1.281 MB / 0.9884 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/1.035, allocations: 0.6621 MB / 0.9891 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008045/1.036, allocations: 0.5798 MB / 0.9897 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001543/1.038, allocations: 0.7073 MB / 0.9904 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=80): time 2.584e-06/1.038, allocations: 0 / 0.9904 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=80): time 0.004793/1.042, allocations: 1.884 MB / 0.9922 GB, free: 12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/1.042, allocations: 63.62 kB / 0.9923 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/1.044, allocations: 1.24 MB / 0.9935 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.128e-05/1.044, allocations: 44.36 kB / 0.9935 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/1.044, allocations: 0.5772 MB / 0.9941 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/1.044, allocations: 277.7 kB / 0.9943 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/1.045, allocations: 182 kB / 0.9945 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001158/1.045, allocations: 343 kB / 0.9948 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/1.046, allocations: 0.5374 MB / 0.9954 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/1.048, allocations: 0.8266 MB / 0.9962 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002796/1.051, allocations: 1.318 MB / 0.9975 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.051, allocations: 7.188 kB / 0.9975 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003344/1.054, allocations: 1.492 MB / 0.9989 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.054, allocations: 11.81 kB / 0.9989 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.054, allocations: 12.48 kB / 0.9989 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/1.054, allocations: 10.91 kB / 0.999 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/1.055, allocations: 297.4 kB / 0.9992 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/1.055, allocations: 20.25 kB / 0.9993 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/1.056, allocations: 198.1 kB / 0.9994 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.048e-05/1.057, allocations: 47.89 kB / 0.9995 GB, free: 10.26 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0004817/1.057, allocations: 345 kB / 0.9998 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/1.057, allocations: 134.4 kB / 0.9999 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003266/1.061, allocations: 1.404 MB / 1.001 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/1.061, allocations: 7.344 kB / 1.001 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.061, allocations: 0 / 1.001 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.061, allocations: 5.953 kB / 1.001 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004758/1.065, allocations: 2.799 MB / 1.004 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/1.065, allocations: 3.375 kB / 1.004 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/1.066, allocations: 228 kB / 1.004 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/1.066, allocations: 10.84 kB / 1.004 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/1.067, allocations: 28.53 kB / 1.004 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/1.067, allocations: 10.17 kB / 1.004 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.067, allocations: 10 kB / 1.004 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004595/1.071, allocations: 2.245 MB / 1.007 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004275/1.072, allocations: 300.4 kB / 1.007 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/1.072, allocations: 25.2 kB / 1.007 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/1.073, allocations: 109.9 kB / 1.007 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/1.073, allocations: 62.28 kB / 1.007 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-05/1.073, allocations: 36.7 kB / 1.007 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000946/1.074, allocations: 0.8515 MB / 1.008 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.074, allocations: 0 / 1.008 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009517/1.075, allocations: 317.9 kB / 1.008 GB, free: 8.746 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.006009/1.081, allocations: 3.228 MB / 1.011 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003413/1.084, allocations: 1.292 MB / 1.013 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.084, allocations: 0 / 1.013 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/1.086, allocations: 0.6414 MB / 1.013 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/1.088, allocations: 0.6043 MB / 1.014 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/1.107, allocations: 10.93 MB / 1.024 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009839/1.108, allocations: 1.169 MB / 1.026 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001325/1.109, allocations: 349.2 kB / 1.026 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006888/1.11, allocations: 0.4922 MB / 1.026 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of SimCode: time 8.82e-07/1.11, allocations: 1.312 kB / 1.026 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06379/1.174, allocations: 34.48 MB / 1.06 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.395/10.57, allocations: 12.44 kB / 1.06 GB, free: 1.336 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)