Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.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.00113/0.00113, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001324/0.001324, allocations: 217.7 kB / 22.25 MB, free: 3.57 MB / 13.93 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.9581/0.9581, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7216/0.7216, allocations: 150.8 MB / 463.2 MB, free: 6.477 MB / 362.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Prescribed3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Prescribed3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 79.59 kB / 0.6392 GB, free: 32.63 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1425, allocations: 88.08 MB / 0.7252 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3): time 0.4428/0.5854, allocations: 133.6 MB / 0.8557 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006652/0.592, allocations: 5.564 MB / 0.8611 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.593, allocations: 47.38 kB / 0.8611 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.5942, allocations: 351 kB / 0.8615 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002802/0.597, allocations: 1.065 MB / 0.8625 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.5982, allocations: 0.5134 MB / 0.863 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001515/0.5998, allocations: 1.309 MB / 0.8643 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000299/0.6001, allocations: 140.4 kB / 0.8644 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.6013, allocations: 0.5842 MB / 0.865 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007462/0.602, allocations: 0.518 MB / 0.8655 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.6021, allocations: 58.78 kB / 0.8656 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.604, allocations: 0.933 MB / 0.8665 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.6042, allocations: 159.3 kB / 0.8666 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005356/0.6047, allocations: 353.5 kB / 0.867 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.6068, allocations: 1.433 MB / 0.8684 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6068, allocations: 0 / 0.8684 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6068, allocations: 1.031 kB / 0.8684 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.469e-05/0.6069, allocations: 0 / 0.8684 GB, free: 1.234 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001996/0.6089, allocations: 1.399 MB / 0.8697 GB, free: 416 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.6089, allocations: 9.375 kB / 0.8697 GB, free: 416 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.778e-05/0.609, allocations: 108.4 kB / 0.8698 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.6092, allocations: 109.3 kB / 0.8699 GB, free: 320 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008496/0.61, allocations: 0.5788 MB / 0.8705 GB, free: 56 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.6102, allocations: 219 kB / 0.8707 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.207e-05/0.6103, allocations: 67.02 kB / 0.8708 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009292/0.6112, allocations: 0.7189 MB / 0.8715 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.6112, allocations: 1.312 kB / 0.8715 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.193e-05/0.6112, allocations: 27 kB / 0.8715 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.6113, allocations: 15.56 kB / 0.8715 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008987/0.6122, allocations: 0.6049 MB / 0.8721 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.6142, allocations: 1.568 MB / 0.8736 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.6154, allocations: 0.7416 MB / 0.8744 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/0.6158, allocations: 292.3 kB / 0.8746 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004729/0.6163, allocations: 181.3 kB / 0.8748 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006176/0.6169, allocations: 451 kB / 0.8752 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 2.324e-06/0.6169, allocations: 0 / 0.8752 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.001639/0.6186, allocations: 0.9649 MB / 0.8762 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.6186, allocations: 66.56 kB / 0.8763 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.6191, allocations: 0.5054 MB / 0.8767 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/0.6191, allocations: 54.42 kB / 0.8768 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005407/0.6196, allocations: 349 kB / 0.8771 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.6198, allocations: 243.8 kB / 0.8774 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.6199, allocations: 127.5 kB / 0.8775 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.62, allocations: 382.7 kB / 0.8778 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004834/0.6205, allocations: 383.6 kB / 0.8782 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.621, allocations: 454.1 kB / 0.8786 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008888/0.6219, allocations: 0.6563 MB / 0.8793 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.6219, allocations: 0 / 0.8793 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001389/0.6233, allocations: 1.055 MB / 0.8803 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.256e-05/0.6234, allocations: 152.7 kB / 0.8805 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6234, allocations: 0 / 0.8805 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004132/0.6238, allocations: 77.88 kB / 0.8805 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.6241, allocations: 129.6 kB / 0.8807 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000352/0.6245, allocations: 0.5691 MB / 0.8812 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.6248, allocations: 80.2 kB / 0.8813 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/0.6249, allocations: 31.61 kB / 0.8813 GB, free: 11.36 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 25 (isentropicEfficiency.count,$PRE.isentropicEfficiency.count,isentropicEfficiency.T_start,$PRE.isentropicEfficiency.T_start,massFlowRate.count,$PRE.massFlowRate.count,massFlowRate.T_start,$PRE.massFlowRate.T_start,pressureRatio.count,$PRE.pressureRatio.count,pressureRatio.T_start,$PRE.pressureRatio.T_start,inletTemperature.count,$PRE.inletTemperature.count,inletTemperature.T_start,$PRE.inletTemperature.T_start,inletPressure.count,$PRE.inletPressure.count,inletPressure.T_start,$PRE.inletPressure.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003287/0.6252, allocations: 209.7 kB / 0.8815 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.6253, allocations: 76.47 kB / 0.8816 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.6266, allocations: 0.8019 MB / 0.8824 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.6266, allocations: 5.031 kB / 0.8824 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.6266, allocations: 4 kB / 0.8824 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.6266, allocations: 4.312 kB / 0.8824 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007138/0.6274, allocations: 0.567 MB / 0.8829 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.6274, allocations: 0 / 0.8829 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.6277, allocations: 133.8 kB / 0.8831 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003059/0.628, allocations: 70.16 kB / 0.8831 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.628, allocations: 24.53 kB / 0.8832 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002981/0.6283, allocations: 0.5634 MB / 0.8837 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6283, allocations: 0 / 0.8837 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.6297, allocations: 1.048 MB / 0.8847 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.63, allocations: 136.9 kB / 0.8849 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.63, allocations: 23.75 kB / 0.8849 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.6303, allocations: 50.92 kB / 0.8849 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.6305, allocations: 78.69 kB / 0.885 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/0.6305, allocations: 25.16 kB / 0.885 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000327/0.6308, allocations: 358.9 kB / 0.8854 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.6308, allocations: 0 / 0.8854 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007831/0.6316, allocations: 306.7 kB / 0.8857 GB, free: 9.137 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder.y,adiabaticFilter.dp) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inletPressure.T_start,inletPressure.count,inletTemperature.T_start,inletTemperature.count,pressureRatio.T_start,pressureRatio.count,massFlowRate.T_start,massFlowRate.count,isentropicEfficiency.T_start,isentropicEfficiency.count) * Number of discrete states: 5 (inletPressure.count,inletTemperature.count,pressureRatio.count,massFlowRate.count,isentropicEfficiency.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002203/0.6338, allocations: 1.888 MB / 0.8875 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.635, allocations: 1.021 MB / 0.8885 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.635, allocations: 0 / 0.8885 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004994/0.6355, allocations: 339.9 kB / 0.8888 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008566/0.6364, allocations: 309 kB / 0.8891 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007247/0.6436, allocations: 6.244 MB / 0.8952 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.6439, allocations: 348 kB / 0.8956 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004907/0.6444, allocations: 139.7 kB / 0.8957 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/0.6448, allocations: 295.4 kB / 0.896 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of SimCode: time 1.333e-06/0.6448, allocations: 0 / 0.896 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04418/0.6889, allocations: 24.11 MB / 0.9195 GB, free: 5.285 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.646/9.335, allocations: 4.062 kB / 0.9195 GB, free: 5.281 MB / 0.6667 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Prescribed3_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Prescribed3.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 12.182369450107217] Failed to read output from testmodel.py, exit status != 0: 9.43417944572866 9.442901448 8.834060214 Calling exit ...