Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.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.0009298/0.0009298, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001002/0.001002, allocations: 212.1 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.9304/0.9304, allocations: 230.6 MB / 256 MB, free: 9.594 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.7108/0.7108, allocations: 150.8 MB / 463.2 MB, free: 6.465 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.Fixed3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 83.27 kB / 0.6392 GB, free: 32.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1431, allocations: 88.08 MB / 0.7252 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3): time 0.442/0.5851, allocations: 133.2 MB / 0.8553 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005207/0.5903, allocations: 5.376 MB / 0.8605 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004071/0.5907, allocations: 45.91 kB / 0.8606 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006864/0.5914, allocations: 331.8 kB / 0.8609 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.593, allocations: 1.037 MB / 0.8619 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006719/0.5937, allocations: 450.4 kB / 0.8623 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001032/0.5947, allocations: 1.106 MB / 0.8634 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.5949, allocations: 95.55 kB / 0.8635 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006043/0.5955, allocations: 492.5 kB / 0.864 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004213/0.5959, allocations: 422.9 kB / 0.8644 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.173e-05/0.596, allocations: 39.97 kB / 0.8644 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.597, allocations: 0.8483 MB / 0.8652 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.5971, allocations: 121.2 kB / 0.8654 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.5974, allocations: 281.2 kB / 0.8656 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.5985, allocations: 1.209 MB / 0.8668 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5985, allocations: 0 / 0.8668 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5985, allocations: 0 / 0.8668 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.5986, allocations: 3.219 kB / 0.8668 GB, free: 0.9453 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001288/0.5998, allocations: 1.029 MB / 0.8678 GB, free: 364 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.556e-05/0.5999, allocations: 9.344 kB / 0.8678 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.03e-05/0.6, allocations: 87.77 kB / 0.8679 GB, free: 324 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.6001, allocations: 91.81 kB / 0.868 GB, free: 276 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009347/0.6011, allocations: 0.5247 MB / 0.8685 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002093/0.6013, allocations: 198.3 kB / 0.8687 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.6014, allocations: 58.27 kB / 0.8688 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000791/0.6022, allocations: 0.525 MB / 0.8693 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.6022, allocations: 1.094 kB / 0.8693 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.6022, allocations: 20.53 kB / 0.8693 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.6022, allocations: 16.34 kB / 0.8693 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005969/0.6028, allocations: 443.4 kB / 0.8697 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.6045, allocations: 1.493 MB / 0.8712 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.6052, allocations: 322.3 kB / 0.8715 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.6055, allocations: 162.6 kB / 0.8717 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/0.6067, allocations: 0.8199 MB / 0.8725 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.6067, allocations: 37.28 kB / 0.8725 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 1.523e-06/0.6067, allocations: 0 / 0.8725 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38): time 0.001002/0.6077, allocations: 0.5115 MB / 0.873 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.6077, allocations: 57.19 kB / 0.873 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005248/0.6083, allocations: 0.605 MB / 0.8736 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.6083, allocations: 31.39 kB / 0.8737 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.6085, allocations: 336.1 kB / 0.874 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.763e-05/0.6086, allocations: 132.7 kB / 0.8741 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.23e-05/0.6087, allocations: 82.59 kB / 0.8742 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6088, allocations: 374.7 kB / 0.8745 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.609, allocations: 105.4 kB / 0.8746 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.6092, allocations: 188.2 kB / 0.8748 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.6096, allocations: 305.8 kB / 0.8751 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6096, allocations: 0 / 0.8751 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000548/0.6102, allocations: 441.6 kB / 0.8755 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.6102, allocations: 5.75 kB / 0.8755 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.6102, allocations: 7.219 kB / 0.8756 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003556/0.6106, allocations: 83.66 kB / 0.8756 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.6108, allocations: 92.86 kB / 0.8757 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003102/0.6111, allocations: 0.5666 MB / 0.8763 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.6112, allocations: 61.11 kB / 0.8763 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.6112, allocations: 16.56 kB / 0.8763 GB, free: 13 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * 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.0001411/0.6114, allocations: 177.3 kB / 0.8765 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.6114, allocations: 72.81 kB / 0.8766 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006567/0.6121, allocations: 0.5485 MB / 0.8771 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.6121, allocations: 10.23 kB / 0.8771 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6121, allocations: 0 / 0.8771 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.6121, allocations: 2.484 kB / 0.8771 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008211/0.6129, allocations: 0.866 MB / 0.878 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6129, allocations: 4.062 kB / 0.878 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.6131, allocations: 57.12 kB / 0.878 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002464/0.6133, allocations: 76.75 kB / 0.8781 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.6133, allocations: 10.48 kB / 0.8781 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002549/0.6136, allocations: 0.5781 MB / 0.8787 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6136, allocations: 2.719 kB / 0.8787 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/0.6142, allocations: 0.5763 MB / 0.8792 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.6143, allocations: 111 kB / 0.8794 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.6144, allocations: 10.22 kB / 0.8794 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.6145, allocations: 16.5 kB / 0.8794 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.6146, allocations: 19.39 kB / 0.8794 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.6146, allocations: 15.42 kB / 0.8794 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003421/0.6149, allocations: 458 kB / 0.8799 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6149, allocations: 3.938 kB / 0.8799 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004429/0.6154, allocations: 218.9 kB / 0.8801 GB, free: 11.05 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (adiabaticFilter.dp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001114/0.6165, allocations: 1.373 MB / 0.8814 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004869/0.617, allocations: 278.7 kB / 0.8817 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.617, allocations: 0 / 0.8817 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.6172, allocations: 138.1 kB / 0.8818 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008096/0.618, allocations: 337.8 kB / 0.8821 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.6222, allocations: 4.918 MB / 0.8869 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.6224, allocations: 286 kB / 0.8872 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002376/0.6226, allocations: 119.2 kB / 0.8873 GB, free: 6.922 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.6228, allocations: 240.3 kB / 0.8875 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of SimCode: time 5.11e-07/0.6228, allocations: 4 kB / 0.8875 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.6552, allocations: 21.41 MB / 0.9085 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/8.958, allocations: 20.39 kB / 0.9085 GB, free: 13 MB / 0.6667 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 12.812981206923723] Failed to read output from testmodel.py, exit status != 0: 9.053784825839102 9.065108768 8.464437404 Calling exit ...