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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 214.1 kB / 22.25 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002486/0.002486, allocations: 278.3 kB / 312.7 MB, free: 2.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.224/1.224, allocations: 180.6 MB / 0.5369 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002927/0.002927, allocations: 100.4 kB / 0.7395 GB, free: 28.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2063, allocations: 95.38 MB / 0.8327 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.7793/0.9856, allocations: 171.4 MB / 1 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.9961, allocations: 5.009 MB / 1.005 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.9978, allocations: 68.78 kB / 1.005 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.9998, allocations: 0.8047 MB / 1.006 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00807/1.008, allocations: 2.729 MB / 1.008 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003427/1.011, allocations: 1.037 MB / 1.009 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005431/1.017, allocations: 2.649 MB / 1.012 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002469/1.019, allocations: 0.7082 MB / 1.013 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003643/1.023, allocations: 1.142 MB / 1.014 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/1.025, allocations: 0.9956 MB / 1.015 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004294/1.026, allocations: 80.25 kB / 1.015 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004012/1.03, allocations: 1.488 MB / 1.016 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009018/1.031, allocations: 459 kB / 1.017 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001967/1.033, allocations: 0.5368 MB / 1.017 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004675/1.037, allocations: 2.131 MB / 1.019 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.037, allocations: 4.562 kB / 1.019 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.495e-06/1.037, allocations: 0 / 1.019 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.23e-05/1.037, allocations: 0 / 1.019 GB, free: 2.875 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.004553/1.042, allocations: 1.927 MB / 1.021 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.042, allocations: 9.969 kB / 1.021 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/1.042, allocations: 141.9 kB / 1.021 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004022/1.046, allocations: 0.7138 MB / 1.022 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/1.048, allocations: 0.8656 MB / 1.023 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/1.048, allocations: 69.42 kB / 1.023 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/1.048, allocations: 91.27 kB / 1.023 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/1.051, allocations: 1.474 MB / 1.025 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/1.051, allocations: 0 / 1.025 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.641e-05/1.051, allocations: 37.55 kB / 1.025 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.86e-05/1.051, allocations: 52.36 kB / 1.025 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00387/1.055, allocations: 1.572 MB / 1.026 GB, free: 17.28 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.006567/1.062, allocations: 4.28 MB / 1.03 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/1.065, allocations: 1.157 MB / 1.031 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/1.066, allocations: 0.6327 MB / 1.032 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00086/1.067, allocations: 195.6 kB / 1.032 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001704/1.069, allocations: 0.7351 MB / 1.033 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 3.426e-06/1.069, allocations: 0 / 1.033 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.00551/1.074, allocations: 1.984 MB / 1.035 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/1.074, allocations: 65.03 kB / 1.035 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/1.076, allocations: 1.333 MB / 1.036 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.322e-05/1.076, allocations: 41.45 kB / 1.036 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/1.076, allocations: 0.5893 MB / 1.037 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/1.076, allocations: 295.5 kB / 1.037 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/1.077, allocations: 182.8 kB / 1.037 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000178/1.077, allocations: 348.8 kB / 1.038 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/1.078, allocations: 0.5565 MB / 1.038 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/1.08, allocations: 1.056 MB / 1.039 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003109/1.083, allocations: 1.356 MB / 1.041 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.083, allocations: 0 / 1.041 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003815/1.087, allocations: 1.537 MB / 1.042 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/1.087, allocations: 10.58 kB / 1.042 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.087, allocations: 8.375 kB / 1.042 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/1.087, allocations: 11.12 kB / 1.042 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/1.089, allocations: 295.7 kB / 1.042 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/1.089, allocations: 15.36 kB / 1.042 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/1.09, allocations: 210.3 kB / 1.043 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.921e-05/1.09, allocations: 49.31 kB / 1.043 GB, free: 13.1 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.0006423/1.091, allocations: 335.5 kB / 1.043 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/1.091, allocations: 150 kB / 1.043 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/1.095, allocations: 1.507 MB / 1.045 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/1.095, allocations: 9.094 kB / 1.045 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/1.095, allocations: 4 kB / 1.045 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/1.095, allocations: 9.094 kB / 1.045 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00604/1.101, allocations: 2.773 MB / 1.047 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/1.101, allocations: 7.375 kB / 1.047 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.102, allocations: 239.3 kB / 1.048 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/1.102, allocations: 12.66 kB / 1.048 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-05/1.102, allocations: 28.95 kB / 1.048 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/1.102, allocations: 13.52 kB / 1.048 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.102, allocations: 5.531 kB / 1.048 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005411/1.108, allocations: 2.389 MB / 1.05 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006788/1.108, allocations: 249.1 kB / 1.05 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/1.108, allocations: 25.14 kB / 1.05 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.109, allocations: 111 kB / 1.05 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/1.11, allocations: 67.8 kB / 1.05 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.482e-05/1.11, allocations: 38.39 kB / 1.05 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001196/1.111, allocations: 0.9147 MB / 1.051 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.111, allocations: 4 kB / 1.051 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001141/1.112, allocations: 325.2 kB / 1.052 GB, free: 11.45 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 (88): * Single equations (assignments): 82 * 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.007796/1.12, allocations: 3.391 MB / 1.055 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003778/1.124, allocations: 1.306 MB / 1.056 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.124, allocations: 7.438 kB / 1.056 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001769/1.125, allocations: 0.6511 MB / 1.057 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/1.128, allocations: 0.6229 MB / 1.057 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02197/1.15, allocations: 11.31 MB / 1.069 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007041/1.151, allocations: 0.5927 MB / 1.069 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00145/1.152, allocations: 341.6 kB / 1.069 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008198/1.153, allocations: 0.497 MB / 1.07 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of SimCode: time 1.022e-06/1.153, allocations: 0 / 1.07 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08824/1.242, allocations: 38.73 MB / 1.108 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.54, allocations: 7.125 kB / 1.108 GB, free: 11.47 MB / 0.7794 GB " [Timeout remaining time 646] (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 --stepSize=0.48 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.93884815182537] Failed to read output from testmodel.py, exit status != 0: 13.72258253581822 13.750347118 12.708004187 Calling exit ...