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.001346/0.001346, allocations: 81.67 kB / 19.27 MB, free: 0.6016 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.001645/0.001645, allocations: 162 kB / 22.57 MB, free: 1.949 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.9136/0.9136, allocations: 177.2 MB / 202.9 MB, free: 5.691 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.6571/0.6571, allocations: 116 MB / 375.4 MB, free: 4.164 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.104e-06/2.104e-06, allocations: 0 / 0.5536 GB, free: 13.15 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.63e-05, allocations: 6.25 kB / 0.5536 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint): time 1.018/1.018, allocations: 416 MB / 0.9599 GB, free: 0.8828 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02838/1.046, allocations: 23.46 MB / 0.9828 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006847/1.053, allocations: 381.2 kB / 0.9831 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.007858/1.061, allocations: 2.461 MB / 0.9855 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.02425/1.085, allocations: 8.548 MB / 0.9939 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0133/1.099, allocations: 5.453 MB / 0.9992 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01371/1.112, allocations: 9.661 MB / 1.009 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/1.114, allocations: 0.7416 MB / 1.009 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01528/1.13, allocations: 7.364 MB / 1.017 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005371/1.135, allocations: 1.983 MB / 1.018 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001491/1.137, allocations: 319.1 kB / 1.019 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01313/1.15, allocations: 5.456 MB / 1.024 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001671/1.151, allocations: 0.8845 MB / 1.025 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.003556/1.155, allocations: 1.634 MB / 1.027 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.02199/1.177, allocations: 10.63 MB / 1.037 GB, free: 8.98 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/1.177, allocations: 0 / 1.037 GB, free: 8.98 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.234e-06/1.177, allocations: 2.5 kB / 1.037 GB, free: 8.98 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002614/1.177, 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.01529/1.192, allocations: 6.63 MB / 1.043 GB, free: 6.09 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/1.192, allocations: 11.53 kB / 1.043 GB, free: 6.09 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004799/1.193, allocations: 474.4 kB / 1.044 GB, free: 6.031 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0053/1.198, allocations: 1.454 MB / 1.045 GB, free: 5.672 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00778/1.206, allocations: 3.721 MB / 1.049 GB, free: 4.625 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007962/1.207, allocations: 1.216 MB / 1.05 GB, free: 3.492 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001299/1.208, allocations: 358.1 kB / 1.05 GB, free: 3.484 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006075/1.214, allocations: 4.074 MB / 1.054 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.565e-05/1.214, allocations: 10.19 kB / 1.054 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002868/1.215, allocations: 145.3 kB / 1.055 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-05/1.215, allocations: 85.72 kB / 1.055 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005247/1.22, allocations: 2.973 MB / 1.058 GB, free: 2.707 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.01953/1.239, allocations: 12.74 MB / 1.07 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003758/1.243, allocations: 1.936 MB / 1.072 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002268/1.245, allocations: 0.9593 MB / 1.073 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/1.247, allocations: 0.7279 MB / 1.074 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.462e-05/1.247, allocations: 73.31 kB / 1.074 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=213): time 4.969e-06/1.247, allocations: 0 / 1.074 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=261): time 0.04517/1.292, allocations: 30.19 MB / 1.103 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001755/1.292, allocations: 0.5187 MB / 1.104 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005229/1.298, allocations: 4.515 MB / 1.108 GB, free: 9.688 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0006246/1.298, allocations: 73.3 kB / 1.108 GB, free: 9.645 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00123/1.299, allocations: 2.285 MB / 1.11 GB, free: 7.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009704/1.3, allocations: 0.9144 MB / 1.111 GB, free: 6.938 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008619/1.301, allocations: 0.72 MB / 1.112 GB, free: 6.211 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.372e-05/1.301, allocations: 305.1 kB / 1.112 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/1.303, allocations: 0.9539 MB / 1.113 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/1.305, allocations: 1.496 MB / 1.115 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003351/1.308, allocations: 2.451 MB / 1.117 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/1.309, allocations: 8 kB / 1.117 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.005928/1.314, allocations: 3.493 MB / 1.12 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/1.314, allocations: 15.94 kB / 1.12 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/1.314, allocations: 15.98 kB / 1.12 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006294/1.315, allocations: 200.3 kB / 1.121 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/1.317, allocations: 0.8758 MB / 1.122 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006812/1.318, allocations: 1.161 MB / 1.123 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003122/1.321, allocations: 219.4 kB / 1.123 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006325/1.322, allocations: 407.9 kB / 1.123 GB, free: 10.37 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.001729/1.323, allocations: 0.5874 MB / 1.124 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001348/1.325, allocations: 0.5744 MB / 1.124 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008638/1.333, allocations: 6.155 MB / 1.13 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.7e-05/1.333, allocations: 31.98 kB / 1.13 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/1.333, allocations: 7.984 kB / 1.13 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/1.333, allocations: 11.97 kB / 1.13 GB, free: 3.016 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/1.35, allocations: 10.97 MB / 1.141 GB, free: 7.855 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.77e-05/1.35, allocations: 35.98 kB / 1.141 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/1.351, allocations: 0.5215 MB / 1.142 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006373/1.352, allocations: 205.6 kB / 1.142 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/1.352, allocations: 112 kB / 1.142 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008229/1.353, allocations: 1.191 MB / 1.143 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.951e-05/1.353, allocations: 47.47 kB / 1.143 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006238/1.359, allocations: 5.033 MB / 1.148 GB, free: 424 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002169/1.361, allocations: 0.7634 MB / 1.149 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009823/1.362, allocations: 91.88 kB / 1.149 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/1.364, allocations: 139.9 kB / 1.149 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000499/1.365, allocations: 291.9 kB / 1.149 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002129/1.365, allocations: 184 kB / 1.15 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003977/1.369, allocations: 3.101 MB / 1.153 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.2e-07/1.369, allocations: 0 / 1.153 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006442/1.375, allocations: 1.626 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.01029/1.386, allocations: 7.712 MB / 1.162 GB, free: 2.438 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004913/1.39, allocations: 2.294 MB / 1.164 GB, free: 268 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-05/1.391, allocations: 4 kB / 1.164 GB, free: 264 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002389/1.393, allocations: 1.181 MB / 1.165 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01082/1.404, allocations: 2.405 MB / 1.167 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05557/1.459, allocations: 33.82 MB / 1.2 GB, free: 9.906 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/1.461, allocations: 1.853 MB / 1.202 GB, free: 8.02 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.006388/1.467, allocations: 3.553 MB / 1.206 GB, free: 4.531 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003453/1.471, allocations: 2.569 MB / 1.208 GB, free: 1.965 MB / 0.9323 GB Notification: Performance of SimCode: time 2.194e-06/1.471, allocations: 0 / 1.208 GB, free: 1.965 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4986/1.969, allocations: 154.4 MB / 1.359 GB, free: 0.5084 GB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/16.99, allocations: 5.656 kB / 1.359 GB, free: 0.5084 GB / 1.026 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 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: 19.862251811660826] Failed to read output from testmodel.py, exit status != 0: 17.155826576054096 17.164063065 15.985320322 Calling exit ...