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.0008173/0.0008173, 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.0008092/0.0008092, allocations: 165.9 kB / 22.45 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.8636/0.8636, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.6116/0.6116, allocations: 116 MB / 375.2 MB, free: 4.188 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.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 1.703e-06/1.703e-06, allocations: 0 / 0.5533 GB, free: 13.3 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.096e-05, allocations: 10.02 kB / 0.5533 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.Inversion1): time 0.3821/0.3821, allocations: 164.1 MB / 0.7136 GB, free: 12.11 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002645/0.3847, allocations: 2.325 MB / 0.7158 GB, free: 10.26 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/0.3851, allocations: 40.22 kB / 0.7159 GB, free: 10.24 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007036/0.3858, allocations: 301.8 kB / 0.7161 GB, free: 9.996 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.387, allocations: 0.7049 MB / 0.7168 GB, free: 9.434 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.3887, allocations: 1.023 MB / 0.7178 GB, free: 8.684 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0007071/0.3894, allocations: 0.982 MB / 0.7188 GB, free: 8.082 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.3896, allocations: 97.75 kB / 0.7189 GB, free: 8.023 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009425/0.3906, allocations: 0.7933 MB / 0.7197 GB, free: 7.527 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.3908, allocations: 293.7 kB / 0.7199 GB, free: 7.383 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.3908, allocations: 42.78 kB / 0.72 GB, free: 7.375 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009174/0.3917, allocations: 0.6429 MB / 0.7206 GB, free: 7.082 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 7.648e-05/0.3918, allocations: 95.36 kB / 0.7207 GB, free: 7.004 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.3919, allocations: 180.7 kB / 0.7209 GB, free: 6.926 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.393, allocations: 1.08 MB / 0.7219 GB, free: 6.27 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.393, allocations: 2.5 kB / 0.7219 GB, free: 6.27 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.332e-06/0.393, allocations: 0 / 0.7219 GB, free: 6.27 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3931, allocations: 0 / 0.7219 GB, free: 6.27 MB / 0.573 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.0009488/0.394, allocations: 0.8968 MB / 0.7228 GB, free: 5.559 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.394, allocations: 10.5 kB / 0.7228 GB, free: 5.559 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.195e-05/0.3941, allocations: 86.86 kB / 0.7229 GB, free: 5.48 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.3943, allocations: 86.62 kB / 0.723 GB, free: 5.438 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005845/0.3949, allocations: 451.7 kB / 0.7234 GB, free: 5.078 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.3949, allocations: 29.03 kB / 0.7234 GB, free: 5.066 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.3949, allocations: 38.5 kB / 0.7235 GB, free: 5.055 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004295/0.3954, allocations: 452 kB / 0.7239 GB, free: 4.754 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3954, allocations: 0 / 0.7239 GB, free: 4.754 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.3954, allocations: 18.91 kB / 0.7239 GB, free: 4.738 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3954, allocations: 10.44 kB / 0.7239 GB, free: 4.738 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.3957, allocations: 257.4 kB / 0.7242 GB, free: 4.625 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.397, allocations: 1.344 MB / 0.7255 GB, free: 3.559 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.3972, allocations: 180.1 kB / 0.7257 GB, free: 3.461 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.144e-05/0.3973, allocations: 59.31 kB / 0.7257 GB, free: 3.426 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.116e-05/0.3974, allocations: 11.89 kB / 0.7257 GB, free: 3.422 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.3974, allocations: 41.03 kB / 0.7258 GB, free: 3.375 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 1.954e-06/0.3974, allocations: 0 / 0.7258 GB, free: 3.375 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.0005007/0.3979, allocations: 296.7 kB / 0.7261 GB, free: 3.227 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.3979, allocations: 83.64 kB / 0.7261 GB, free: 3.129 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.3982, allocations: 486.8 kB / 0.7266 GB, free: 2.836 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.3983, allocations: 29.7 kB / 0.7266 GB, free: 2.801 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.3984, allocations: 307.1 kB / 0.7269 GB, free: 2.531 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.3984, allocations: 56.45 kB / 0.727 GB, free: 2.48 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.3985, allocations: 69.98 kB / 0.727 GB, free: 2.438 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.896e-05/0.3986, allocations: 368.2 kB / 0.7274 GB, free: 2.082 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-05/0.3987, allocations: 55.69 kB / 0.7274 GB, free: 2.059 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.133e-05/0.3987, allocations: 119.1 kB / 0.7276 GB, free: 1.961 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.3989, allocations: 177.5 kB / 0.7277 GB, free: 1.84 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3989, allocations: 4 kB / 0.7277 GB, free: 1.836 MB / 0.573 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003305/0.3992, allocations: 308.2 kB / 0.728 GB, free: 1.676 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3993, allocations: 4.906 kB / 0.728 GB, free: 1.676 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3993, allocations: 3.406 kB / 0.728 GB, free: 1.676 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.3994, allocations: 55.25 kB / 0.7281 GB, free: 1.637 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.3996, allocations: 93.48 kB / 0.7282 GB, free: 1.621 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.4013, allocations: 3.197 MB / 0.7313 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.4014, allocations: 27.77 kB / 0.7313 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.4014, allocations: 43.39 kB / 0.7314 GB, free: 14.32 MB / 0.5886 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.000139/0.4016, allocations: 155.5 kB / 0.7315 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.4016, allocations: 56.06 kB / 0.7316 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006631/0.4023, allocations: 0.6248 MB / 0.7322 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4023, allocations: 4 kB / 0.7322 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.4023, allocations: 2.938 kB / 0.7322 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4023, allocations: 4.078 kB / 0.7322 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006933/0.403, allocations: 0.7796 MB / 0.733 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.403, allocations: 3 kB / 0.733 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.4031, allocations: 71.23 kB / 0.733 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.644e-05/0.4032, allocations: 48.12 kB / 0.7331 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.4032, allocations: 11.62 kB / 0.7331 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.4045, allocations: 3.196 MB / 0.7362 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4045, allocations: 0 / 0.7362 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.4047, allocations: 407.5 kB / 0.7366 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/0.4048, allocations: 66.05 kB / 0.7367 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.4048, allocations: 14.64 kB / 0.7367 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.4049, allocations: 2.719 kB / 0.7367 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.405, allocations: 22.5 kB / 0.7367 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.405, allocations: 25.78 kB / 0.7367 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002378/0.4052, allocations: 353.2 kB / 0.7371 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.4052, allocations: 0 / 0.7371 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000435/0.4057, allocations: 170.1 kB / 0.7372 GB, free: 9.234 MB / 0.5886 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.0007511/0.4064, allocations: 1.129 MB / 0.7383 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004821/0.4069, allocations: 317.3 kB / 0.7386 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4069, allocations: 0 / 0.7386 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.4071, allocations: 226.1 kB / 0.7388 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.4077, allocations: 217.2 kB / 0.739 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.4107, allocations: 3.71 MB / 0.7427 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.4108, allocations: 254.1 kB / 0.7429 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004227/0.4113, allocations: 374.3 kB / 0.7433 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.4115, allocations: 237.4 kB / 0.7435 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of SimCode: time 7.61e-07/0.4115, allocations: 0 / 0.7435 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.439, allocations: 16.2 MB / 0.7593 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.404/7.843, allocations: 11.94 kB / 0.7593 GB, free: 9.969 MB / 0.6042 GB " [Timeout remaining time 652] (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: 10.252787118777633] Failed to read output from testmodel.py, exit status != 0: 7.936746075749397 7.94524123 7.550475882 Calling exit ...