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.0008969/0.0008969, 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.00102/0.00102, allocations: 165.9 kB / 22.46 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.8975/0.8975, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.6699/0.6699, allocations: 116 MB / 375.2 MB, free: 4.211 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.054e-06/2.054e-06, allocations: 0 / 0.5533 GB, free: 13.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.978e-05, allocations: 5.375 kB / 0.5533 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint): time 1.026/1.026, allocations: 416 MB / 0.9596 GB, free: 0.8984 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02917/1.055, allocations: 23.45 MB / 0.9825 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005754/1.061, allocations: 380 kB / 0.9829 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.006435/1.067, allocations: 2.46 MB / 0.9853 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.02217/1.09, allocations: 8.547 MB / 0.9937 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.01197/1.102, allocations: 5.475 MB / 0.999 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01338/1.115, allocations: 9.651 MB / 1.008 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/1.117, allocations: 0.7479 MB / 1.009 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0135/1.13, allocations: 7.359 MB / 1.016 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003797/1.134, allocations: 1.988 MB / 1.018 GB, free: 10.97 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0007803/1.135, allocations: 313.2 kB / 1.019 GB, free: 10.97 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01499/1.15, allocations: 5.455 MB / 1.024 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0007906/1.15, allocations: 0.8898 MB / 1.025 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002621/1.153, allocations: 1.632 MB / 1.026 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.01887/1.172, allocations: 10.63 MB / 1.037 GB, free: 8.988 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.172, allocations: 0 / 1.037 GB, free: 8.988 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.513e-06/1.172, allocations: 0 / 1.037 GB, free: 8.988 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001746/1.172, allocations: 0 / 1.037 GB, free: 8.988 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.009505/1.182, allocations: 6.632 MB / 1.043 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/1.182, allocations: 11.06 kB / 1.043 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004182/1.182, allocations: 480 kB / 1.044 GB, free: 6.039 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004825/1.187, allocations: 1.453 MB / 1.045 GB, free: 5.68 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005009/1.192, allocations: 3.385 MB / 1.048 GB, free: 4.633 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006625/1.193, allocations: 1.218 MB / 1.05 GB, free: 3.5 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000393/1.193, allocations: 355.8 kB / 1.05 GB, free: 3.492 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00461/1.198, allocations: 4.071 MB / 1.054 GB, free: 2.762 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.092e-05/1.198, allocations: 8.188 kB / 1.054 GB, free: 2.762 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002548/1.198, allocations: 150.2 kB / 1.054 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/1.198, allocations: 89.17 kB / 1.054 GB, free: 2.754 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004077/1.202, allocations: 2.975 MB / 1.057 GB, free: 2.711 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.0132/1.215, allocations: 12.62 MB / 1.069 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/1.218, allocations: 1.936 MB / 1.071 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/1.219, allocations: 0.9675 MB / 1.072 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/1.22, allocations: 0.7231 MB / 1.073 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/1.22, allocations: 77.52 kB / 1.073 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=213): time 3.997e-06/1.22, allocations: 0 / 1.073 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=261): time 0.03696/1.257, allocations: 30.18 MB / 1.102 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/1.258, allocations: 0.5225 MB / 1.103 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004315/1.262, allocations: 4.512 MB / 1.107 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002067/1.262, allocations: 69.27 kB / 1.107 GB, free: 10.13 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001263/1.263, allocations: 2.29 MB / 1.11 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006186/1.264, allocations: 0.9189 MB / 1.111 GB, free: 7.383 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/1.265, allocations: 0.7083 MB / 1.111 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.177e-05/1.265, allocations: 309.1 kB / 1.112 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/1.267, allocations: 0.95 MB / 1.113 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/1.269, allocations: 1.497 MB / 1.114 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003227/1.272, allocations: 2.454 MB / 1.116 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.272, allocations: 4 kB / 1.116 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.005283/1.277, allocations: 3.496 MB / 1.12 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/1.277, allocations: 18.28 kB / 1.12 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/1.277, allocations: 16 kB / 1.12 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/1.278, allocations: 197.5 kB / 1.12 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/1.28, allocations: 0.8801 MB / 1.121 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006706/1.28, allocations: 1.169 MB / 1.122 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/1.283, allocations: 215.3 kB / 1.122 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004045/1.283, allocations: 407.9 kB / 1.123 GB, free: 10.82 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.001194/1.284, allocations: 0.5834 MB / 1.123 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006981/1.285, allocations: 0.5822 MB / 1.124 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007115/1.292, allocations: 6.155 MB / 1.13 GB, free: 3.512 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/1.292, allocations: 24 kB / 1.13 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.292, allocations: 8 kB / 1.13 GB, free: 3.48 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/1.292, allocations: 15.95 kB / 1.13 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/1.305, allocations: 10.96 MB / 1.14 GB, free: 8.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-05/1.305, allocations: 32 kB / 1.141 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/1.306, allocations: 0.5215 MB / 1.141 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000502/1.307, allocations: 209.1 kB / 1.141 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/1.307, allocations: 116 kB / 1.141 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005254/1.307, allocations: 1.19 MB / 1.143 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.85e-05/1.307, allocations: 50.19 kB / 1.143 GB, free: 6.219 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005234/1.313, allocations: 5.034 MB / 1.147 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/1.314, allocations: 0.7594 MB / 1.148 GB, free: 116 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004258/1.314, allocations: 91.88 kB / 1.148 GB, free: 24 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/1.316, allocations: 139.9 kB / 1.148 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/1.316, allocations: 296.3 kB / 1.149 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001865/1.316, allocations: 180 kB / 1.149 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003251/1.32, allocations: 3.105 MB / 1.152 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.5e-07/1.32, allocations: 0 / 1.152 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004936/1.325, allocations: 1.622 MB / 1.154 GB, free: 10.73 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.009915/1.334, allocations: 7.718 MB / 1.161 GB, free: 2.902 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00472/1.339, allocations: 2.294 MB / 1.163 GB, free: 0.7305 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.64e-05/1.339, allocations: 8 kB / 1.163 GB, free: 0.7227 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002098/1.341, allocations: 1.183 MB / 1.164 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01085/1.352, allocations: 2.397 MB / 1.167 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05673/1.409, allocations: 33.81 MB / 1.2 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/1.411, allocations: 1.849 MB / 1.202 GB, free: 8.488 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.006548/1.417, allocations: 3.556 MB / 1.205 GB, free: 5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00384/1.421, allocations: 2.57 MB / 1.208 GB, free: 2.43 MB / 0.9323 GB Notification: Performance of SimCode: time 3.066e-06/1.421, allocations: 4 kB / 1.208 GB, free: 2.426 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4834/1.904, allocations: 154.2 MB / 1.358 GB, free: 0.5089 GB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/16.98, allocations: 9.938 kB / 1.358 GB, free: 0.5089 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.80665624048561] Failed to read output from testmodel.py, exit status != 0: 17.150012492202222 17.158781946 15.985094226 Calling exit ...