Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002324/0.002324, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7557/0.7557, allocations: 94.61 MB / 399.1 MB, free: 15.73 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Examples_SimpleStream",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Examples_SimpleStream",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 83.84 kB / 0.5444 GB, free: 12.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.4755, allocations: 71.84 MB / 0.6145 GB, free: 3.816 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.7951/1.271, allocations: 286.7 MB / 0.8945 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02984/1.3, allocations: 27.65 MB / 0.9215 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/1.302, allocations: 48.78 kB / 0.9215 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003549/1.306, allocations: 1.454 MB / 0.923 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01237/1.318, allocations: 4.752 MB / 0.9276 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005529/1.324, allocations: 2.058 MB / 0.9296 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003526/1.327, allocations: 2.255 MB / 0.9318 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006775/1.328, allocations: 392.9 kB / 0.9322 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002825/1.331, allocations: 1.383 MB / 0.9335 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/1.332, allocations: 1.037 MB / 0.9345 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002237/1.333, allocations: 139.8 kB / 0.9347 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01798/1.351, allocations: 9.216 MB / 0.9437 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009931/1.351, allocations: 499.8 kB / 0.9442 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00151/1.353, allocations: 0.8434 MB / 0.945 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01842/1.371, allocations: 5.562 MB / 0.9504 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/1.371, allocations: 0 / 0.9504 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.134e-06/1.371, allocations: 0.875 kB / 0.9504 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.168e-05/1.371, allocations: 0 / 0.9504 GB, free: 0.5742 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.007894/1.379, allocations: 2.802 MB / 0.9531 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/1.379, allocations: 13.09 kB / 0.9532 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002206/1.38, allocations: 185.5 kB / 0.9533 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004324/1.38, allocations: 186.3 kB / 0.9535 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/1.382, allocations: 1.017 MB / 0.9545 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.376e-05/1.382, allocations: 85.48 kB / 0.9546 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/1.382, allocations: 133.8 kB / 0.9547 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/1.385, allocations: 1.767 MB / 0.9564 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/1.385, allocations: 4 kB / 0.9564 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.997e-05/1.385, allocations: 52.17 kB / 0.9565 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/1.385, allocations: 114.5 kB / 0.9566 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/1.388, allocations: 1.88 MB / 0.9584 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/1.398, allocations: 7.99 MB / 0.9662 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/1.4, allocations: 0.8336 MB / 0.9671 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000946/1.401, allocations: 0.6107 MB / 0.9677 GB, free: 8.004 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002041/1.403, allocations: 2.356 MB / 0.97 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/1.403, allocations: 48.34 kB / 0.97 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=101): time 3.347e-06/1.403, allocations: 0 / 0.97 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of matching and sorting (n=103): time 0.006647/1.409, allocations: 3.85 MB / 0.9738 GB, free: 4.152 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/1.409, allocations: 64.41 kB / 0.9738 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/1.41, allocations: 0.8112 MB / 0.9746 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-05/1.411, allocations: 45.92 kB / 0.9747 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004222/1.411, allocations: 0.6018 MB / 0.9752 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/1.411, allocations: 373.2 kB / 0.9756 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/1.412, allocations: 189.1 kB / 0.9758 GB, free: 3.156 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.412, allocations: 336.5 kB / 0.9761 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007196/1.412, allocations: 0.5001 MB / 0.9766 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008095/1.413, allocations: 0.5812 MB / 0.9772 GB, free: 2.672 MB / 0.7012 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system (0.0 = $START.thermalConduction.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/1.415, allocations: 1.227 MB / 0.9784 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.415, allocations: 0 / 0.9784 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002517/1.418, allocations: 1.503 MB / 0.9798 GB, free: 2.164 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/1.418, allocations: 9.688 kB / 0.9798 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.418, allocations: 0 / 0.9798 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006143/1.418, allocations: 171 kB / 0.98 GB, free: 2.109 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/1.419, allocations: 196.4 kB / 0.9802 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00362/1.422, allocations: 2.689 MB / 0.9828 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007532/1.423, allocations: 26.14 kB / 0.9828 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/1.423, allocations: 63.03 kB / 0.9829 GB, free: 15.8 MB / 0.7169 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (95): * Single equations (assignments): 89 * Array equations: 5 * 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): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007413/1.424, allocations: 342 kB / 0.9832 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/1.424, allocations: 119.2 kB / 0.9833 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003751/1.428, allocations: 2.127 MB / 0.9854 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/1.428, allocations: 15.98 kB / 0.9854 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/1.428, allocations: 8 kB / 0.9854 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/1.428, allocations: 3.984 kB / 0.9854 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005754/1.434, allocations: 3.357 MB / 0.9887 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.434, allocations: 4.062 kB / 0.9887 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/1.435, allocations: 179.6 kB / 0.9889 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000593/1.435, allocations: 176.6 kB / 0.9891 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.331e-05/1.435, allocations: 39.97 kB / 0.9891 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00352/1.439, allocations: 2.701 MB / 0.9917 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.439, allocations: 3.938 kB / 0.9917 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004056/1.443, allocations: 2.345 MB / 0.994 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/1.443, allocations: 188.3 kB / 0.9942 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/1.443, allocations: 26.02 kB / 0.9942 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/1.444, allocations: 23.98 kB / 0.9943 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/1.444, allocations: 84.89 kB / 0.9943 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/1.444, allocations: 67.95 kB / 0.9944 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009074/1.445, allocations: 0.5791 MB / 0.995 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.445, allocations: 0 / 0.995 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003281/1.448, allocations: 0.9461 MB / 0.9959 GB, free: 3.258 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (thermalConduction.h,heatCapacitor.T,flowResistance2.inlet.m_flow,flowResistance3.inlet.m_flow) * 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 (91): * Single equations (assignments): 85 * Array equations: 5 * 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): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00811/1.457, allocations: 4.099 MB / 0.9999 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003282/1.46, allocations: 1.441 MB / 1.001 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.46, allocations: 0 / 1.001 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00187/1.462, allocations: 0.8566 MB / 1.002 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/1.464, allocations: 426.2 kB / 1.003 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/1.483, allocations: 10.59 MB / 1.013 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/1.484, allocations: 1.268 MB / 1.014 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001776/1.486, allocations: 0.6091 MB / 1.015 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008872/1.487, allocations: 0.6008 MB / 1.015 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of SimCode: time 1.523e-06/1.487, allocations: 0 / 1.015 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/1.592, allocations: 50.04 MB / 1.064 GB, free: 13.63 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/15.15, allocations: 0 / 1.064 GB, free: 13.63 MB / 0.795 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream_res.csv --start-time 0 --stop-time 100 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermofluidStream_dev_ThermofluidStream_Examples_SimpleStream.fmu > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.68692722101696] Failed to read output from testmodel.py, exit status != 0: 15.261525351990713 15.275890783 13.901193385000001 Calling exit ...