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.0007911/0.0007911, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001004/0.001004, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8643/0.8643, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.606/0.606, allocations: 116 MB / 375.2 MB, free: 4.18 MB / 346.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 1.893e-06/1.893e-06, allocations: 0 / 0.5533 GB, free: 13.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.145e-05, allocations: 2.281 kB / 0.5533 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3): time 0.3621/0.3621, allocations: 133.1 MB / 0.6832 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004855/0.3669, allocations: 5.383 MB / 0.6885 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006675/0.3676, allocations: 45.53 kB / 0.6886 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008164/0.3684, allocations: 333.4 kB / 0.6889 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.3705, allocations: 1.069 MB / 0.6899 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008448/0.3713, allocations: 454 kB / 0.6903 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009676/0.3723, allocations: 1.147 MB / 0.6915 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.3725, allocations: 96.7 kB / 0.6916 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006868/0.3732, allocations: 0.6328 MB / 0.6922 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/0.3735, allocations: 366.9 kB / 0.6925 GB, free: 5.156 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.143e-05/0.3736, allocations: 43.22 kB / 0.6926 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.3749, allocations: 0.8577 MB / 0.6934 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.183e-05/0.375, allocations: 126.4 kB / 0.6935 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.3752, allocations: 223.5 kB / 0.6937 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.3764, allocations: 1.205 MB / 0.6949 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3764, allocations: 0 / 0.6949 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3764, allocations: 0 / 0.6949 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.3764, allocations: 0 / 0.6949 GB, free: 4.84 MB / 0.5573 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.001112/0.3776, allocations: 1.021 MB / 0.6959 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3776, allocations: 9.969 kB / 0.6959 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.052e-05/0.3777, allocations: 88.23 kB / 0.696 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.07e-05/0.3777, allocations: 85.67 kB / 0.6961 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006427/0.3784, allocations: 0.5271 MB / 0.6966 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.3785, allocations: 198.4 kB / 0.6968 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.254e-05/0.3785, allocations: 56.12 kB / 0.6968 GB, free: 3.703 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/0.3792, allocations: 0.5323 MB / 0.6974 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3792, allocations: 0 / 0.6974 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.3792, allocations: 21.12 kB / 0.6974 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.3792, allocations: 10.47 kB / 0.6974 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005559/0.3798, allocations: 446.5 kB / 0.6978 GB, free: 3.316 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.3812, allocations: 1.502 MB / 0.6993 GB, free: 2.34 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005741/0.3818, allocations: 311.7 kB / 0.6996 GB, free: 2.215 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.382, allocations: 163.2 kB / 0.6997 GB, free: 2.152 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003503/0.3823, allocations: 186.6 kB / 0.6999 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.3823, allocations: 37.78 kB / 0.7 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 1.844e-06/0.3823, allocations: 0 / 0.7 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.0008576/0.3832, allocations: 0.539 MB / 0.7005 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.3832, allocations: 56.66 kB / 0.7005 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.3836, allocations: 0.5915 MB / 0.7011 GB, free: 1.527 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.3836, allocations: 29.7 kB / 0.7011 GB, free: 1.492 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.3837, allocations: 309.1 kB / 0.7014 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.3838, allocations: 149 kB / 0.7016 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.3838, allocations: 81.91 kB / 0.7017 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.173e-05/0.3839, allocations: 325.8 kB / 0.702 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.384, allocations: 112.1 kB / 0.7021 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.3842, allocations: 159.2 kB / 0.7022 GB, free: 0.6406 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.3846, allocations: 295.3 kB / 0.7025 GB, free: 500 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3846, allocations: 0 / 0.7025 GB, free: 500 kB / 0.5573 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005147/0.3851, allocations: 450.5 kB / 0.7029 GB, free: 296 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3851, allocations: 9.094 kB / 0.7029 GB, free: 292 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3851, allocations: 2.938 kB / 0.7029 GB, free: 292 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003547/0.3855, allocations: 84.28 kB / 0.703 GB, free: 268 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.3856, allocations: 88.16 kB / 0.7031 GB, free: 260 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002884/0.3859, allocations: 0.5641 MB / 0.7037 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.3861, allocations: 57.58 kB / 0.7037 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.3861, allocations: 21.41 kB / 0.7037 GB, free: 15.67 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 45 * 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.0001526/0.3863, allocations: 167 kB / 0.7039 GB, free: 15.52 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.3863, allocations: 76.73 kB / 0.704 GB, free: 15.48 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007448/0.3871, allocations: 0.6499 MB / 0.7046 GB, free: 15.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3871, allocations: 2.312 kB / 0.7046 GB, free: 15.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3871, allocations: 3.938 kB / 0.7046 GB, free: 15.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3871, allocations: 0 / 0.7046 GB, free: 15.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009313/0.388, allocations: 0.8813 MB / 0.7055 GB, free: 14.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.388, allocations: 6.703 kB / 0.7055 GB, free: 14.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.3882, allocations: 50.59 kB / 0.7055 GB, free: 14.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002533/0.3884, allocations: 78.27 kB / 0.7056 GB, free: 14.37 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.3884, allocations: 16.95 kB / 0.7056 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002486/0.3887, allocations: 0.5706 MB / 0.7062 GB, free: 13.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3887, allocations: 6.844 kB / 0.7062 GB, free: 13.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006447/0.3893, allocations: 0.5824 MB / 0.7068 GB, free: 13.38 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.3895, allocations: 102.2 kB / 0.7068 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.3895, allocations: 17.17 kB / 0.7069 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.3896, allocations: 11.83 kB / 0.7069 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.3897, allocations: 30.52 kB / 0.7069 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3897, allocations: 12.28 kB / 0.7069 GB, free: 13.26 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000331/0.39, allocations: 465.7 kB / 0.7074 GB, free: 13 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.39, allocations: 0 / 0.7074 GB, free: 13 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005226/0.3906, allocations: 229.9 kB / 0.7076 GB, free: 12.93 MB / 0.573 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.001175/0.3917, allocations: 1.412 MB / 0.709 GB, free: 11.86 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004799/0.3922, allocations: 262.8 kB / 0.7092 GB, free: 11.76 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3922, allocations: 0 / 0.7092 GB, free: 11.76 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.3924, allocations: 142.4 kB / 0.7093 GB, free: 11.69 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009232/0.3934, allocations: 354.5 kB / 0.7097 GB, free: 11.52 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004753/0.3981, allocations: 4.982 MB / 0.7145 GB, free: 8.285 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.3983, allocations: 287.5 kB / 0.7148 GB, free: 8.102 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003401/0.3986, allocations: 130.5 kB / 0.7149 GB, free: 8.043 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.3988, allocations: 234.5 kB / 0.7152 GB, free: 7.855 MB / 0.573 GB Notification: Performance of SimCode: time 8.71e-07/0.3988, allocations: 0 / 0.7152 GB, free: 7.855 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.4322, allocations: 22.56 MB / 0.7372 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.797/8.229, allocations: 3.938 kB / 0.7372 GB, free: 11.52 MB / 0.5886 GB " [Timeout remaining time 652] (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: 10.639418937265873] Failed to read output from testmodel.py, exit status != 0: 8.323010921478271 8.330583251 7.952521445 Calling exit ...