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.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.001607/0.001607, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001621/0.001621, allocations: 215.1 kB / 22.24 MB, free: 4.855 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.406/1.406, 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.002492/0.002492, allocations: 294.8 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.204/1.204, allocations: 180.6 MB / 0.5369 GB, free: 14.64 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,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"}) [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.002894/0.002894, allocations: 106.8 kB / 0.7395 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2311, allocations: 95.38 MB / 0.8327 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7418/0.973, allocations: 171.4 MB / 1 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.9837, allocations: 5.02 MB / 1.005 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.9858, allocations: 67.62 kB / 1.005 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002362/0.9882, allocations: 0.8026 MB / 1.006 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00871/0.9969, allocations: 2.726 MB / 1.008 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003166/1, allocations: 1.032 MB / 1.009 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004548/1.005, allocations: 2.731 MB / 1.012 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/1.006, allocations: 0.7582 MB / 1.013 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003059/1.009, allocations: 1.162 MB / 1.014 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/1.011, allocations: 1.023 MB / 1.015 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/1.011, allocations: 89.22 kB / 1.015 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/1.015, allocations: 1.492 MB / 1.017 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005244/1.015, allocations: 473.9 kB / 1.017 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008732/1.016, allocations: 0.5435 MB / 1.017 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004254/1.021, allocations: 2.182 MB / 1.02 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.021, allocations: 0.9375 kB / 1.02 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/1.021, allocations: 0 / 1.02 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.237e-05/1.021, allocations: 1.062 kB / 1.02 GB, free: 2.883 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005267/1.026, allocations: 1.953 MB / 1.022 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.026, allocations: 11.81 kB / 1.022 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/1.026, allocations: 144.2 kB / 1.022 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005306/1.031, allocations: 0.9069 MB / 1.023 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/1.033, allocations: 0.89 MB / 1.023 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.954e-05/1.033, allocations: 66.66 kB / 1.024 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/1.034, allocations: 91.67 kB / 1.024 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003465/1.037, allocations: 1.588 MB / 1.025 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/1.037, allocations: 3.984 kB / 1.025 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/1.037, allocations: 37.66 kB / 1.025 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.265e-05/1.037, allocations: 48.8 kB / 1.025 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00491/1.042, allocations: 1.856 MB / 1.027 GB, free: 17.34 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.007989/1.05, allocations: 3.982 MB / 1.031 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004202/1.054, allocations: 1.523 MB / 1.032 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002237/1.057, allocations: 0.8238 MB / 1.033 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009322/1.057, allocations: 195.1 kB / 1.033 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002466/1.06, allocations: 0.9236 MB / 1.034 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 4.158e-06/1.06, allocations: 0.9062 kB / 1.034 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.007694/1.068, allocations: 2.478 MB / 1.037 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/1.068, allocations: 69.62 kB / 1.037 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/1.069, allocations: 1.258 MB / 1.038 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001264/1.069, allocations: 47.67 kB / 1.038 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004766/1.07, allocations: 0.5529 MB / 1.039 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/1.07, allocations: 344.8 kB / 1.039 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003444/1.071, allocations: 187.5 kB / 1.039 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001954/1.071, allocations: 339.3 kB / 1.039 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/1.073, allocations: 0.711 MB / 1.04 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/1.075, allocations: 1.143 MB / 1.041 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004224/1.079, allocations: 1.573 MB / 1.043 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/1.079, allocations: 3.25 kB / 1.043 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004961/1.084, allocations: 1.797 MB / 1.045 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.084, allocations: 7.781 kB / 1.045 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.084, allocations: 7.906 kB / 1.045 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/1.084, allocations: 7.719 kB / 1.045 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/1.086, allocations: 340 kB / 1.045 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/1.086, allocations: 11.84 kB / 1.045 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/1.088, allocations: 240.8 kB / 1.045 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/1.088, allocations: 47.95 kB / 1.045 GB, free: 13.86 MB / 0.7325 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.0006197/1.089, allocations: 339.5 kB / 1.046 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/1.089, allocations: 150.7 kB / 1.046 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004901/1.094, allocations: 1.865 MB / 1.047 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/1.094, allocations: 7.531 kB / 1.047 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.094, allocations: 0 / 1.047 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/1.094, allocations: 5.344 kB / 1.047 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007357/1.101, allocations: 3.244 MB / 1.051 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.101, allocations: 3.469 kB / 1.051 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/1.103, allocations: 293.5 kB / 1.051 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/1.103, allocations: 8.406 kB / 1.051 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/1.103, allocations: 41.17 kB / 1.051 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/1.103, allocations: 9.781 kB / 1.051 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/1.103, allocations: 8.75 kB / 1.051 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007742/1.111, allocations: 2.925 MB / 1.054 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008887/1.112, allocations: 256.6 kB / 1.054 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/1.112, allocations: 24.64 kB / 1.054 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/1.113, allocations: 152.5 kB / 1.054 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.113, allocations: 81 kB / 1.054 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.291e-05/1.113, allocations: 44.19 kB / 1.054 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001146/1.115, allocations: 0.8704 MB / 1.055 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6e-08/1.115, allocations: 0 / 1.055 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001062/1.116, allocations: 358.3 kB / 1.056 GB, free: 10.17 MB / 0.7325 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 (101): * Single equations (assignments): 95 * 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.01009/1.126, allocations: 3.923 MB / 1.059 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005076/1.131, allocations: 1.609 MB / 1.061 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/1.131, allocations: 0 / 1.061 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002403/1.133, allocations: 0.8315 MB / 1.062 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/1.136, allocations: 0.6169 MB / 1.062 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02605/1.162, allocations: 12.25 MB / 1.074 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/1.163, allocations: 0.6111 MB / 1.075 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00156/1.164, allocations: 373.9 kB / 1.075 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000895/1.165, allocations: 0.511 MB / 1.076 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of SimCode: time 6.62e-07/1.165, allocations: 3.094 kB / 1.076 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08984/1.255, allocations: 39.43 MB / 1.114 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.58, allocations: 11.98 kB / 1.114 GB, free: 4.98 MB / 0.7794 GB " [Timeout remaining time 646] (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 --stepSize=0.48 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.90669571282342] Failed to read output from testmodel.py, exit status != 0: 13.76793677220121 13.783252133 12.75967922 Calling exit ...