Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.0007082/0.0007082, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0007123/0.0007123, allocations: 165.9 kB / 22.45 MB, free: 2.102 MB / 18.57 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 0.8383/0.8383, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001364/0.001364, allocations: 233.6 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6234/0.6234, allocations: 138.4 MB / 454.3 MB, free: 1.648 MB / 362.7 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_Water,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.6463 GB, free: 29.1 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085e-05/1.215e-05, allocations: 8.891 kB / 0.6463 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01439/0.01441, allocations: 26.89 MB / 0.6726 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004899/0.01931, allocations: 6.546 MB / 0.679 GB, free: 148 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004813/0.01979, allocations: 71.31 kB / 0.6791 GB, free: 76 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0009704/0.02076, allocations: 0.7105 MB / 0.6798 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.02261, allocations: 1.616 MB / 0.6813 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.02406, allocations: 1.12 MB / 0.6824 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001601/0.02566, allocations: 2.57 MB / 0.6849 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005801/0.02624, allocations: 0.6503 MB / 0.6856 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.02741, allocations: 1.363 MB / 0.6869 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006217/0.02804, allocations: 0.7439 MB / 0.6876 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.584e-05/0.02812, allocations: 68 kB / 0.6877 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009247/0.02905, allocations: 0.6895 MB / 0.6884 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.02927, allocations: 302.7 kB / 0.6887 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.02951, allocations: 370.9 kB / 0.689 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.03068, allocations: 1.608 MB / 0.6906 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.03069, allocations: 0 / 0.6906 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.423e-06/0.03069, allocations: 0 / 0.6906 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.0307, allocations: 0 / 0.6906 GB, free: 4.227 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.001535/0.03223, allocations: 1.544 MB / 0.6921 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.03227, allocations: 12.75 kB / 0.6921 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.042e-05/0.03236, allocations: 114.7 kB / 0.6922 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.03385, allocations: 0.5931 MB / 0.6928 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008565/0.03471, allocations: 0.7713 MB / 0.6935 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.03474, allocations: 58.38 kB / 0.6936 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-05/0.03483, allocations: 76.38 kB / 0.6937 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.03615, allocations: 1.111 MB / 0.6948 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.03617, allocations: 4 kB / 0.6948 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.101e-05/0.03622, allocations: 28 kB / 0.6948 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.03623, allocations: 16 kB / 0.6948 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.03779, allocations: 1.027 MB / 0.6958 GB, free: 14.71 MB / 0.5417 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.003184/0.04098, allocations: 4.25 MB / 0.7 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.04247, allocations: 0.8804 MB / 0.7008 GB, free: 9.418 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007117/0.04319, allocations: 476 kB / 0.7013 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003263/0.04351, allocations: 172.3 kB / 0.7014 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008416/0.04435, allocations: 0.576 MB / 0.702 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=61): time 2.284e-06/0.04436, allocations: 4 kB / 0.702 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of matching and sorting (n=61): time 0.002351/0.04671, allocations: 1.519 MB / 0.7035 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.04674, allocations: 55.91 kB / 0.7035 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008289/0.04757, allocations: 1.184 MB / 0.7047 GB, free: 5.406 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.04762, allocations: 49.7 kB / 0.7047 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.0479, allocations: 0.5561 MB / 0.7053 GB, free: 4.793 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.04801, allocations: 214.2 kB / 0.7055 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.04818, allocations: 166.6 kB / 0.7056 GB, free: 4.41 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.398e-05/0.04826, allocations: 337.9 kB / 0.706 GB, free: 4.074 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007116/0.04897, allocations: 457.6 kB / 0.7064 GB, free: 3.629 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009021/0.04988, allocations: 0.9541 MB / 0.7073 GB, free: 2.504 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.05139, allocations: 1.129 MB / 0.7084 GB, free: 1.27 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.05139, allocations: 4 kB / 0.7084 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001774/0.05317, allocations: 1.297 MB / 0.7097 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.05318, allocations: 11.94 kB / 0.7097 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.05319, allocations: 8 kB / 0.7097 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.05321, allocations: 12 kB / 0.7097 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.05376, allocations: 267.6 kB / 0.71 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.05377, allocations: 19.92 kB / 0.71 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.05427, allocations: 183.2 kB / 0.7102 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/0.05433, allocations: 47.97 kB / 0.7102 GB, free: 15.42 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.000263/0.05459, allocations: 300.1 kB / 0.7105 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.05471, allocations: 123.2 kB / 0.7106 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.05672, allocations: 1.446 MB / 0.712 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.05673, allocations: 15.98 kB / 0.7121 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.05674, allocations: 0 / 0.7121 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.05674, allocations: 7.984 kB / 0.7121 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.0596, allocations: 2.321 MB / 0.7143 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.05961, allocations: 4 kB / 0.7143 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.06007, allocations: 191.9 kB / 0.7145 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.06007, allocations: 4 kB / 0.7145 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.06011, allocations: 31.97 kB / 0.7146 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.06012, allocations: 15.92 kB / 0.7146 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.06012, allocations: 0 / 0.7146 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.06271, allocations: 2.073 MB / 0.7166 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.06308, allocations: 226.8 kB / 0.7168 GB, free: 8.559 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.061e-05/0.06316, allocations: 20 kB / 0.7168 GB, free: 8.539 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.06356, allocations: 99.88 kB / 0.7169 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/0.06364, allocations: 60.48 kB / 0.717 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/0.06369, allocations: 35.97 kB / 0.717 GB, free: 8.348 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005693/0.06426, allocations: 0.8036 MB / 0.7178 GB, free: 7.539 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.06426, allocations: 4 kB / 0.7178 GB, free: 7.535 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000601/0.06486, allocations: 355.4 kB / 0.7181 GB, free: 7.188 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.003738/0.06859, allocations: 3.191 MB / 0.7213 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.0702, allocations: 1.113 MB / 0.7223 GB, free: 3.027 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.0702, allocations: 0 / 0.7223 GB, free: 3.027 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008071/0.07101, allocations: 0.5779 MB / 0.7229 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.07205, allocations: 459.2 kB / 0.7234 GB, free: 2.02 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009952/0.082, allocations: 9.736 MB / 0.7329 GB, free: 7.906 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.08231, allocations: 0.5296 MB / 0.7334 GB, free: 7.34 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000477/0.08279, allocations: 250.6 kB / 0.7336 GB, free: 7.094 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/0.08321, allocations: 476.3 kB / 0.7341 GB, free: 6.629 MB / 0.573 GB Notification: Performance of SimCode: time 6.01e-07/0.08321, allocations: 0 / 0.7341 GB, free: 6.629 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03685/0.1201, allocations: 33.77 MB / 0.767 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.619, allocations: 3.125 kB / 0.767 GB, free: 5.402 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.301104352809489] Failed to read output from testmodel.py, exit status != 0: 7.730324124917388 7.73805246 7.705766444 Calling exit ...