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.0007863/0.0007863, 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.0008661/0.0008661, allocations: 212.1 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.9584/0.9584, allocations: 230.6 MB / 256 MB, free: 9.602 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.7069/0.7069, allocations: 150.8 MB / 463.3 MB, free: 6.457 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.00125/0.00125, allocations: 87.89 kB / 0.6392 GB, free: 32.63 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1392, allocations: 88.08 MB / 0.7252 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.Inversion1): time 0.4707/0.6099, allocations: 164.2 MB / 0.8856 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.002904/0.6128, allocations: 2.335 MB / 0.8879 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004522/0.6132, allocations: 43.69 kB / 0.8879 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0007413/0.614, allocations: 293.5 kB / 0.8882 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.6153, allocations: 0.6783 MB / 0.8888 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.6173, allocations: 1.014 MB / 0.8898 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0009018/0.6182, allocations: 0.9449 MB / 0.8908 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.6184, allocations: 105.2 kB / 0.8909 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.6195, allocations: 0.6577 MB / 0.8915 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.6198, allocations: 336.2 kB / 0.8918 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.6198, allocations: 33.28 kB / 0.8918 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.621, allocations: 0.6393 MB / 0.8925 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-05/0.6211, allocations: 102.9 kB / 0.8926 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.6212, allocations: 224.3 kB / 0.8928 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.6225, allocations: 1.04 MB / 0.8938 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6225, allocations: 0 / 0.8938 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6225, allocations: 0 / 0.8938 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.6225, allocations: 0 / 0.8938 GB, free: 12.07 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.001102/0.6236, allocations: 0.9066 MB / 0.8947 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.6236, allocations: 8.938 kB / 0.8947 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.336e-05/0.6237, allocations: 81.41 kB / 0.8948 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/0.6239, allocations: 94.75 kB / 0.8949 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.6245, allocations: 440.7 kB / 0.8953 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.6246, allocations: 30.38 kB / 0.8953 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.6246, allocations: 40.84 kB / 0.8953 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.625, allocations: 452.4 kB / 0.8958 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.625, allocations: 0 / 0.8958 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.6251, allocations: 18.53 kB / 0.8958 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.6251, allocations: 11.5 kB / 0.8958 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.6254, allocations: 256.7 kB / 0.8961 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.6267, allocations: 1.344 MB / 0.8974 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.6269, allocations: 175.6 kB / 0.8975 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.317e-05/0.627, allocations: 64.41 kB / 0.8976 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.354e-05/0.6271, allocations: 14.88 kB / 0.8976 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.6271, allocations: 36.84 kB / 0.8976 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.823e-06/0.6271, allocations: 0 / 0.8976 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0005358/0.6276, allocations: 298.2 kB / 0.8979 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.6277, allocations: 88.08 kB / 0.898 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.628, allocations: 490.9 kB / 0.8985 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.628, allocations: 33.7 kB / 0.8985 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.6282, allocations: 313.3 kB / 0.8988 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.6282, allocations: 51.95 kB / 0.8989 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.6283, allocations: 67.44 kB / 0.8989 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.6284, allocations: 357.5 kB / 0.8993 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-05/0.6285, allocations: 63.88 kB / 0.8993 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/0.6286, allocations: 117.5 kB / 0.8994 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.6287, allocations: 177.7 kB / 0.8996 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6287, allocations: 6.5 kB / 0.8996 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000342/0.6291, allocations: 309.8 kB / 0.8999 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.6291, allocations: 9.406 kB / 0.8999 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6291, allocations: 3.469 kB / 0.8999 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.6292, allocations: 41.7 kB / 0.9 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.6295, allocations: 101.7 kB / 0.9001 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.631, allocations: 3.206 MB / 0.9032 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.6311, allocations: 28.72 kB / 0.9032 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.6311, allocations: 33.19 kB / 0.9032 GB, free: 4.684 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.0001394/0.6313, allocations: 158.9 kB / 0.9034 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.6313, allocations: 51.61 kB / 0.9034 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006519/0.632, allocations: 0.6301 MB / 0.9041 GB, free: 4.156 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.632, allocations: 6.438 kB / 0.9041 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.632, allocations: 2.688 kB / 0.9041 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.632, allocations: 0 / 0.9041 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007424/0.6327, allocations: 0.7759 MB / 0.9048 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6327, allocations: 3.625 kB / 0.9048 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.6329, allocations: 78.33 kB / 0.9049 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.929e-05/0.633, allocations: 35.23 kB / 0.9049 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.633, allocations: 12.28 kB / 0.905 GB, free: 3.512 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.6343, allocations: 3.207 MB / 0.9081 GB, free: 236 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6343, allocations: 7 kB / 0.9081 GB, free: 232 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.6346, allocations: 413.2 kB / 0.9085 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.513e-05/0.6346, allocations: 62.05 kB / 0.9085 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.6347, allocations: 2.969 kB / 0.9085 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.6348, allocations: 2.469 kB / 0.9086 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.6348, allocations: 25.38 kB / 0.9086 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.6348, allocations: 24.95 kB / 0.9086 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000248/0.6351, allocations: 352.7 kB / 0.9089 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4e-08/0.6351, allocations: 0 / 0.9089 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004671/0.6355, allocations: 176.7 kB / 0.9091 GB, free: 15.59 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.0007448/0.6363, allocations: 1.114 MB / 0.9102 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004976/0.6368, allocations: 321.8 kB / 0.9105 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6368, allocations: 384 / 0.9105 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.637, allocations: 222.3 kB / 0.9107 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006547/0.6377, allocations: 210.6 kB / 0.9109 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.6407, allocations: 3.732 MB / 0.9146 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.6408, allocations: 248.5 kB / 0.9148 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000442/0.6413, allocations: 365.5 kB / 0.9151 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.6415, allocations: 237 kB / 0.9154 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of SimCode: time 6.71e-07/0.6415, allocations: 0 / 0.9154 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.6716, allocations: 16.06 MB / 0.9311 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.697, allocations: 13.58 kB / 0.9311 GB, free: 2.895 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Inversion_Inversion1_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 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.48599420581013] Failed to read output from testmodel.py, exit status != 0: 8.793139958754182 8.803549355 8.17911193 Calling exit ...