Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.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.000831/0.000831, allocations: 80.25 kB / 19.27 MB, free: 0.5859 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.001073/0.001073, allocations: 170 kB / 22.58 MB, free: 1.922 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.8789/0.8789, allocations: 177.1 MB / 202.9 MB, free: 5.676 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.6651/0.6651, allocations: 116 MB / 375.4 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.Setpoint,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.5536 GB, free: 13.17 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.606e-05, allocations: 2.312 kB / 0.5536 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint): time 1.116/1.117, allocations: 416.1 MB / 0.9599 GB, free: 0.8828 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02859/1.145, allocations: 23.45 MB / 0.9828 GB, free: 0.8633 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00765/1.153, allocations: 383.3 kB / 0.9831 GB, free: 0.8633 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.007888/1.161, allocations: 2.46 MB / 0.9855 GB, free: 0.8633 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.02569/1.186, allocations: 8.546 MB / 0.9939 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.01295/1.199, allocations: 5.465 MB / 0.9992 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01431/1.214, allocations: 9.646 MB / 1.009 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/1.216, allocations: 0.7459 MB / 1.009 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01715/1.233, allocations: 7.366 MB / 1.017 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005104/1.238, allocations: 1.983 MB / 1.018 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.00141/1.239, allocations: 313.7 kB / 1.019 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01414/1.254, allocations: 5.453 MB / 1.024 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.00161/1.255, allocations: 0.8907 MB / 1.025 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.004295/1.259, allocations: 1.634 MB / 1.027 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0231/1.283, allocations: 10.64 MB / 1.037 GB, free: 8.984 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.283, allocations: 4 kB / 1.037 GB, free: 8.98 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.455e-06/1.283, allocations: 0 / 1.037 GB, free: 8.98 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002862/1.283, allocations: 0 / 1.037 GB, free: 8.98 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 888 * Number of variables: 888 Notification: Performance of Generate backend data structure: time 0.01426/1.297, allocations: 6.631 MB / 1.043 GB, free: 6.094 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/1.297, allocations: 12.59 kB / 1.043 GB, free: 6.09 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005301/1.298, allocations: 471.5 kB / 1.044 GB, free: 6.031 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005339/1.303, allocations: 1.453 MB / 1.045 GB, free: 5.676 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006766/1.31, allocations: 3.724 MB / 1.049 GB, free: 4.625 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006623/1.31, allocations: 1.219 MB / 1.05 GB, free: 3.492 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001213/1.312, allocations: 359.4 kB / 1.051 GB, free: 3.48 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00611/1.318, allocations: 4.072 MB / 1.054 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.316e-05/1.318, allocations: 8.781 kB / 1.054 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002695/1.318, allocations: 144.8 kB / 1.055 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/1.318, allocations: 84.56 kB / 1.055 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004675/1.323, allocations: 2.978 MB / 1.058 GB, free: 2.703 MB / 0.7917 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.01997/1.343, allocations: 12.74 MB / 1.07 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003652/1.346, allocations: 1.931 MB / 1.072 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/1.348, allocations: 0.967 MB / 1.073 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/1.35, allocations: 0.7392 MB / 1.074 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.506e-05/1.35, allocations: 77.45 kB / 1.074 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=213): time 4.368e-06/1.35, allocations: 0 / 1.074 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=261): time 0.04289/1.393, allocations: 30.19 MB / 1.103 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/1.393, allocations: 0.5241 MB / 1.104 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005149/1.398, allocations: 4.518 MB / 1.108 GB, free: 9.715 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0006917/1.399, allocations: 73.52 kB / 1.108 GB, free: 9.668 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001248/1.4, allocations: 2.288 MB / 1.11 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008392/1.401, allocations: 0.9104 MB / 1.111 GB, free: 6.938 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008263/1.402, allocations: 0.7083 MB / 1.112 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.917e-05/1.402, allocations: 309.1 kB / 1.112 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/1.404, allocations: 0.95 MB / 1.113 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/1.406, allocations: 1.498 MB / 1.115 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003463/1.409, allocations: 2.464 MB / 1.117 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/1.409, allocations: 4 kB / 1.117 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.00702/1.416, allocations: 3.486 MB / 1.12 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/1.416, allocations: 15.94 kB / 1.12 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/1.416, allocations: 12.5 kB / 1.121 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006859/1.417, allocations: 195.8 kB / 1.121 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002281/1.419, allocations: 0.8797 MB / 1.122 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006827/1.42, allocations: 1.165 MB / 1.123 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003341/1.423, allocations: 219.4 kB / 1.123 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006242/1.424, allocations: 407.9 kB / 1.123 GB, free: 10.38 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (340): * Single equations (assignments): 338 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00171/1.425, allocations: 0.5832 MB / 1.124 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/1.427, allocations: 0.5861 MB / 1.124 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007908/1.435, allocations: 6.157 MB / 1.13 GB, free: 3.07 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/1.435, allocations: 28 kB / 1.13 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/1.435, allocations: 8 kB / 1.13 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/1.435, allocations: 15.95 kB / 1.13 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/1.45, allocations: 10.96 MB / 1.141 GB, free: 7.863 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.773e-05/1.45, allocations: 32 kB / 1.141 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/1.451, allocations: 0.5251 MB / 1.142 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006455/1.452, allocations: 212.6 kB / 1.142 GB, free: 7.129 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002164/1.452, allocations: 112 kB / 1.142 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006916/1.453, allocations: 1.19 MB / 1.143 GB, free: 5.793 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.173e-05/1.453, allocations: 48.09 kB / 1.143 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006456/1.459, allocations: 5.034 MB / 1.148 GB, free: 424 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002155/1.462, allocations: 0.7663 MB / 1.149 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/1.463, allocations: 95.86 kB / 1.149 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002619/1.465, allocations: 139.9 kB / 1.149 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000469/1.466, allocations: 288.4 kB / 1.149 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00028/1.466, allocations: 180 kB / 1.15 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004132/1.47, allocations: 3.105 MB / 1.153 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.9e-07/1.47, allocations: 0 / 1.153 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006669/1.477, allocations: 1.622 MB / 1.154 GB, free: 10.26 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 4 (p_out5.dp,p_out2.dp,pRatio2.dp,dp2.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 (221): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01092/1.488, allocations: 7.712 MB / 1.162 GB, free: 2.441 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004829/1.493, allocations: 2.29 MB / 1.164 GB, free: 280 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-05/1.493, allocations: 4 kB / 1.164 GB, free: 276 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002213/1.495, allocations: 1.184 MB / 1.165 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008809/1.504, allocations: 2.402 MB / 1.167 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05495/1.559, allocations: 33.81 MB / 1.2 GB, free: 9.914 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/1.56, allocations: 1.857 MB / 1.202 GB, free: 8.023 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.009252/1.57, allocations: 3.555 MB / 1.206 GB, free: 4.539 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003728/1.573, allocations: 2.572 MB / 1.208 GB, free: 1.969 MB / 0.9323 GB Notification: Performance of SimCode: time 1.873e-06/1.573, allocations: 0 / 1.208 GB, free: 1.969 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4434/2.017, allocations: 154.4 MB / 1.359 GB, free: 0.5084 GB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/15.49, allocations: 11.75 kB / 1.359 GB, free: 0.5084 GB / 1.026 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.35800428595394] Failed to read output from testmodel.py, exit status != 0: 15.647928146645427 15.65503276 14.370728013 Calling exit ...