Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.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.0008538/0.0008538, 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.0009285/0.0009285, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9817/0.9817, allocations: 230.6 MB / 256 MB, free: 9.59 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.6944/0.6944, allocations: 150.8 MB / 463.3 MB, free: 6.449 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.Inversion.Inversion1,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Inversion_Inversion1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Inversion.Inversion1,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Inversion_Inversion1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 84.14 kB / 0.6392 GB, free: 32.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1371, allocations: 88.07 MB / 0.7252 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.Inversion1): time 0.4671/0.6043, allocations: 164.2 MB / 0.8856 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.002519/0.6068, allocations: 2.326 MB / 0.8878 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.6071, allocations: 43.88 kB / 0.8879 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0006569/0.6077, allocations: 294.6 kB / 0.8882 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.609, allocations: 0.6883 MB / 0.8888 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.6108, allocations: 1.01 MB / 0.8898 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0008317/0.6116, allocations: 0.944 MB / 0.8908 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.6118, allocations: 106.5 kB / 0.8909 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008631/0.6127, allocations: 0.6555 MB / 0.8915 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.6129, allocations: 337.5 kB / 0.8918 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.613, allocations: 34.19 kB / 0.8918 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007964/0.6138, allocations: 0.6332 MB / 0.8925 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.6138, allocations: 106.2 kB / 0.8926 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.614, allocations: 231.7 kB / 0.8928 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0009144/0.6149, allocations: 1.039 MB / 0.8938 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6149, allocations: 0 / 0.8938 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6149, allocations: 0 / 0.8938 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.6149, allocations: 0 / 0.8938 GB, free: 12.09 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009902/0.6159, allocations: 0.9072 MB / 0.8947 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.6159, allocations: 8.625 kB / 0.8947 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.892e-05/0.616, allocations: 80.03 kB / 0.8948 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.6162, allocations: 96.86 kB / 0.8949 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005571/0.6168, allocations: 440.1 kB / 0.8953 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.6168, allocations: 34.03 kB / 0.8953 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.6168, allocations: 37.34 kB / 0.8954 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.6173, allocations: 452.6 kB / 0.8958 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.6173, allocations: 0 / 0.8958 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.6173, allocations: 14.72 kB / 0.8958 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.6173, allocations: 15.19 kB / 0.8958 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.6176, allocations: 257.5 kB / 0.8961 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.6188, allocations: 1.341 MB / 0.8974 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.6191, allocations: 179.9 kB / 0.8975 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.254e-05/0.6192, allocations: 64.89 kB / 0.8976 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.587e-05/0.6192, allocations: 11.59 kB / 0.8976 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.6192, allocations: 41.22 kB / 0.8977 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.6192, allocations: 0 / 0.8977 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.000493/0.6197, allocations: 295.5 kB / 0.8979 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.6198, allocations: 86.31 kB / 0.898 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.6201, allocations: 488.4 kB / 0.8985 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.6201, allocations: 29.7 kB / 0.8985 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.6203, allocations: 316.5 kB / 0.8988 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.6203, allocations: 50.19 kB / 0.8989 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.434e-05/0.6204, allocations: 67.03 kB / 0.8989 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.347e-05/0.6204, allocations: 357.9 kB / 0.8993 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.639e-05/0.6205, allocations: 61.34 kB / 0.8993 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.354e-05/0.6206, allocations: 107 kB / 0.8994 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.6208, allocations: 194.6 kB / 0.8996 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6208, allocations: 0 / 0.8996 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003424/0.6212, allocations: 316.2 kB / 0.8999 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.6212, allocations: 6.25 kB / 0.8999 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.6212, allocations: 3.938 kB / 0.8999 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.6213, allocations: 41.61 kB / 0.9 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.6215, allocations: 105.6 kB / 0.9001 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.623, allocations: 3.202 MB / 0.9032 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.832e-05/0.6231, allocations: 27.84 kB / 0.9032 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.6231, allocations: 35.73 kB / 0.9033 GB, free: 4.695 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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.0001385/0.6232, allocations: 159.5 kB / 0.9034 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.6233, allocations: 51.67 kB / 0.9035 GB, free: 4.523 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006855/0.624, allocations: 0.6288 MB / 0.9041 GB, free: 4.172 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.624, allocations: 6.594 kB / 0.9041 GB, free: 4.168 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.624, allocations: 96 / 0.9041 GB, free: 4.168 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.624, allocations: 3.938 kB / 0.9041 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007402/0.6247, allocations: 0.7765 MB / 0.9048 GB, free: 3.566 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6247, allocations: 2.625 kB / 0.9048 GB, free: 3.566 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.6249, allocations: 71.61 kB / 0.9049 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.351e-05/0.6249, allocations: 39.73 kB / 0.9049 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.625, allocations: 18.73 kB / 0.905 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.6262, allocations: 3.199 MB / 0.9081 GB, free: 256 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6262, allocations: 8.297 kB / 0.9081 GB, free: 248 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.6265, allocations: 408.5 kB / 0.9085 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.6266, allocations: 58.59 kB / 0.9085 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.6266, allocations: 6.562 kB / 0.9085 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.6267, allocations: 10.64 kB / 0.9086 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.6267, allocations: 14.67 kB / 0.9086 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.6268, allocations: 29.42 kB / 0.9086 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002412/0.627, allocations: 353.7 kB / 0.9089 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6e-08/0.627, allocations: 0 / 0.9089 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003878/0.6274, allocations: 171.6 kB / 0.9091 GB, free: 15.61 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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.0006988/0.6281, allocations: 1.133 MB / 0.9102 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004648/0.6285, allocations: 308 kB / 0.9105 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6286, allocations: 384 / 0.9105 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.6288, allocations: 223.7 kB / 0.9107 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.6294, allocations: 213.7 kB / 0.9109 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.6323, allocations: 3.725 MB / 0.9146 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.6324, allocations: 242 kB / 0.9148 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004251/0.6328, allocations: 376.3 kB / 0.9151 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/0.6332, allocations: 241 kB / 0.9154 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of SimCode: time 6.52e-07/0.6332, allocations: 0 / 0.9154 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.6584, allocations: 16.06 MB / 0.9311 GB, free: 2.918 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.501, allocations: 3.266 kB / 0.9311 GB, free: 2.918 MB / 0.6667 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_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_Inversion_Inversion1.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 11.452476267702878] Failed to read output from testmodel.py, exit status != 0: 8.595039589330554 8.604680677 7.9874387 Calling exit ...