Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleStream.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.001557/0.001557, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001837/0.001837, allocations: 210.3 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.556/1.556, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.8124/0.8124, allocations: 94.57 MB / 404.1 MB, free: 10.95 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/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.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_ThermofluidStream_Examples_SimpleStream",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_ThermofluidStream_Examples_SimpleStream",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002777/0.002777, allocations: 75.89 kB / 0.5506 GB, free: 5.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.4504, allocations: 73.04 MB / 0.6219 GB, free: 8.477 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.7769/1.227, allocations: 285.8 MB / 0.901 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02746/1.255, allocations: 27.47 MB / 0.9278 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/1.257, allocations: 67.53 kB / 0.9279 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003797/1.261, allocations: 1.451 MB / 0.9293 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0129/1.274, allocations: 4.749 MB / 0.934 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005922/1.279, allocations: 2.055 MB / 0.936 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003881/1.283, allocations: 2.259 MB / 0.9382 GB, free: 244 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007366/1.284, allocations: 446.5 kB / 0.9386 GB, free: 92 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003177/1.287, allocations: 1.425 MB / 0.94 GB, free: 15.75 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/1.289, allocations: 1.035 MB / 0.941 GB, free: 15.39 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001958/1.289, allocations: 135.5 kB / 0.9411 GB, free: 15.39 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01657/1.306, allocations: 9.291 MB / 0.9502 GB, free: 13.24 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009149/1.306, allocations: 0.4904 MB / 0.9507 GB, free: 13.05 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001514/1.308, allocations: 0.8382 MB / 0.9515 GB, free: 12.5 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01675/1.325, allocations: 5.588 MB / 0.957 GB, free: 7.434 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/1.325, allocations: 4 kB / 0.957 GB, free: 7.43 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.705e-06/1.325, allocations: 0 / 0.957 GB, free: 7.43 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.656e-05/1.325, allocations: 3.938 kB / 0.957 GB, free: 7.426 MB / 0.67 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.00785/1.333, allocations: 2.803 MB / 0.9597 GB, free: 4.602 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/1.333, allocations: 12.03 kB / 0.9597 GB, free: 4.59 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.957e-05/1.333, allocations: 30.34 kB / 0.9597 GB, free: 4.559 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002733/1.333, allocations: 180.5 kB / 0.9599 GB, free: 4.375 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005324/1.334, allocations: 190.8 kB / 0.9601 GB, free: 4.188 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/1.336, allocations: 1.021 MB / 0.9611 GB, free: 3.18 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-05/1.336, allocations: 93.31 kB / 0.9612 GB, free: 3.09 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/1.336, allocations: 122.5 kB / 0.9613 GB, free: 2.973 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003333/1.339, allocations: 1.775 MB / 0.963 GB, free: 1.172 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/1.339, allocations: 0 / 0.963 GB, free: 1.172 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/1.339, allocations: 55.69 kB / 0.9631 GB, free: 1.121 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001739/1.34, allocations: 110.4 kB / 0.9632 GB, free: 1.012 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003573/1.343, allocations: 1.874 MB / 0.965 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/1.355, allocations: 7.98 MB / 0.9728 GB, free: 6.445 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/1.357, allocations: 0.8303 MB / 0.9736 GB, free: 5.594 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/1.358, allocations: 0.6121 MB / 0.9742 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001943/1.36, allocations: 2.35 MB / 0.9765 GB, free: 2.125 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.497e-05/1.36, allocations: 43.56 kB / 0.9766 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=101): time 6.472e-06/1.36, allocations: 3.984 kB / 0.9766 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of matching and sorting (n=103): time 0.007937/1.368, allocations: 3.867 MB / 0.9803 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/1.368, allocations: 66.88 kB / 0.9804 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/1.369, allocations: 0.8013 MB / 0.9812 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001879/1.369, allocations: 45.14 kB / 0.9812 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004918/1.37, allocations: 0.6104 MB / 0.9818 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004037/1.37, allocations: 369.2 kB / 0.9822 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/1.37, allocations: 182.6 kB / 0.9824 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.371, allocations: 341.9 kB / 0.9827 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008674/1.371, allocations: 0.5017 MB / 0.9832 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/1.372, allocations: 0.5763 MB / 0.9837 GB, free: 10.6 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.002133/1.375, allocations: 1.234 MB / 0.9849 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.375, allocations: 0 / 0.9849 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002999/1.378, allocations: 1.498 MB / 0.9864 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/1.378, allocations: 7.938 kB / 0.9864 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.378, allocations: 0 / 0.9864 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006688/1.378, allocations: 175.1 kB / 0.9866 GB, free: 7.672 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008233/1.379, allocations: 183.6 kB / 0.9868 GB, free: 7.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003834/1.383, allocations: 2.705 MB / 0.9894 GB, free: 4.672 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/1.384, allocations: 23.98 kB / 0.9894 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/1.384, allocations: 63.97 kB / 0.9895 GB, free: 4.586 MB / 0.7012 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.0006928/1.385, allocations: 336 kB / 0.9898 GB, free: 4.258 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/1.385, allocations: 119.2 kB / 0.9899 GB, free: 4.141 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004198/1.389, allocations: 2.122 MB / 0.992 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.232e-05/1.389, allocations: 12 kB / 0.992 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.389, allocations: 4 kB / 0.992 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/1.389, allocations: 7.969 kB / 0.992 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006458/1.396, allocations: 3.353 MB / 0.9953 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.396, allocations: 0 / 0.9953 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007599/1.396, allocations: 182 kB / 0.9955 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007092/1.397, allocations: 184.7 kB / 0.9956 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/1.397, allocations: 51.97 kB / 0.9957 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0036/1.401, allocations: 2.694 MB / 0.9983 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.401, allocations: 3.984 kB / 0.9983 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00426/1.405, allocations: 2.343 MB / 1.001 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/1.405, allocations: 188.3 kB / 1.001 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/1.406, allocations: 22.97 kB / 1.001 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005019/1.406, allocations: 31.98 kB / 1.001 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/1.406, allocations: 83.41 kB / 1.001 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/1.407, allocations: 63.97 kB / 1.001 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008718/1.407, allocations: 0.583 MB / 1.002 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/1.407, allocations: 0 / 1.002 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002767/1.41, allocations: 0.9541 MB / 1.002 GB, free: 7.078 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.007355/1.418, allocations: 4.085 MB / 1.006 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003082/1.421, allocations: 1.438 MB / 1.008 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/1.421, allocations: 3.938 kB / 1.008 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001682/1.422, allocations: 0.8584 MB / 1.009 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/1.424, allocations: 434.5 kB / 1.009 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/1.444, allocations: 10.58 MB / 1.019 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/1.446, allocations: 1.26 MB / 1.021 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001602/1.447, allocations: 0.6047 MB / 1.021 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.448, allocations: 0.5969 MB / 1.022 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of SimCode: time 1.503e-06/1.448, allocations: 0 / 1.022 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/1.553, allocations: 50.01 MB / 1.071 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/15.25, allocations: 25.2 kB / 1.071 GB, free: 1.5 MB / 0.7794 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.SimpleStream.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Examples.SimpleStream_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Examples_SimpleStream_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Examples_SimpleStream.fmu > ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 19.096720696950797] Failed to read output from testmodel.py, exit status != 0: 15.420818189973943 15.445003756 14.11512765 Calling exit ...