Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.0009031/0.0009031, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001329/0.001329, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.092/1.092, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8305/0.8305, allocations: 154.6 MB / 415.6 MB, free: 0.5 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 3.938 kB / 0.5215 GB, free: 1.922 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.916e-05, allocations: 4.562 kB / 0.5215 GB, free: 1.918 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002783/0.002813, allocations: 1.318 MB / 0.5228 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.003844, allocations: 0.5566 MB / 0.5234 GB, free: 56 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.003882, allocations: 1.406 kB / 0.5234 GB, free: 56 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.003906, allocations: 0 / 0.5234 GB, free: 56 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.039e-05/0.003966, allocations: 7.875 kB / 0.5234 GB, free: 48 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006189/0.004585, allocations: 144.7 kB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.453e-05/0.004649, allocations: 23.86 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.004694, allocations: 1.562 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.804e-05/0.004732, allocations: 11.98 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.004795, allocations: 11.94 kB / 0.5236 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.00481, allocations: 0 / 0.5236 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004428/0.005253, allocations: 273.8 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.005272, allocations: 7.938 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.005292, allocations: 4 kB / 0.5238 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.005579, allocations: 159.5 kB / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.005582, allocations: 0 / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005583, allocations: 0 / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.005587, allocations: 0.5625 kB / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004083/0.005995, allocations: 380.5 kB / 0.5243 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.006035, allocations: 8.031 kB / 0.5244 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.006071, allocations: 10.11 kB / 0.5244 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.862e-05/0.006169, allocations: 108.6 kB / 0.5245 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.006182, allocations: 1.906 kB / 0.5245 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.006191, allocations: 4.359 kB / 0.5245 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.138e-05/0.006273, allocations: 42.2 kB / 0.5245 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.00628, allocations: 192 / 0.5245 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.006287, allocations: 1.312 kB / 0.5245 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.006294, allocations: 384 / 0.5245 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.147e-05/0.006325, allocations: 17.42 kB / 0.5245 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.006615, allocations: 240.4 kB / 0.5248 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.006789, allocations: 55.11 kB / 0.5248 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.006814, allocations: 12.75 kB / 0.5248 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.00683, allocations: 0 / 0.5248 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.006859, allocations: 41.39 kB / 0.5249 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.00686, allocations: 0.6875 kB / 0.5249 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001457/0.007006, allocations: 58.84 kB / 0.5249 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.00704, allocations: 51.41 kB / 0.525 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.231e-05/0.007122, allocations: 166.1 kB / 0.5251 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.007134, allocations: 25.7 kB / 0.5252 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.007193, allocations: 139.3 kB / 0.5253 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.007205, allocations: 12.94 kB / 0.5253 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.007246, allocations: 27.36 kB / 0.5253 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.007398, allocations: 496.1 kB / 0.5258 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.007413, allocations: 7.25 kB / 0.5258 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.789e-05/0.007441, allocations: 23.36 kB / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.833e-05/0.007489, allocations: 31.38 kB / 0.5259 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.007491, allocations: 0 / 0.5259 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.142e-05/0.007583, allocations: 53.62 kB / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.007596, allocations: 4 kB / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007601, allocations: 0 / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.007614, allocations: 10.97 kB / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.353e-05/0.007657, allocations: 4 kB / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.007662, allocations: 4 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.094e-05/0.007683, allocations: 0 / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.007689, allocations: 3.984 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.006e-05/0.007769, allocations: 160.5 kB / 0.5261 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.007796, allocations: 7.953 kB / 0.5261 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.007919, allocations: 54.88 kB / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.007922, allocations: 3.938 kB / 0.5262 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.007924, allocations: 0 / 0.5262 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.007927, allocations: 0 / 0.5262 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.008066, allocations: 109.7 kB / 0.5263 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008067, allocations: 0.5 kB / 0.5263 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.5e-05/0.008102, allocations: 8 kB / 0.5263 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.008105, allocations: 2.469 kB / 0.5263 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.00811, allocations: 0 / 0.5263 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.008111, allocations: 0 / 0.5263 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008113, allocations: 0 / 0.5263 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.008248, allocations: 199.8 kB / 0.5265 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.008265, allocations: 7.953 kB / 0.5265 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.008276, allocations: 6.422 kB / 0.5265 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.763e-05/0.008323, allocations: 3.938 kB / 0.5265 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.008337, allocations: 0 / 0.5265 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.008343, allocations: 4.062 kB / 0.5265 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.203e-05/0.008385, allocations: 123.2 kB / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008385, allocations: 0 / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002945/0.008679, allocations: 27.92 kB / 0.5266 GB, free: 12.47 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001811/0.00886, allocations: 120.9 kB / 0.5267 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.689e-05/0.008947, allocations: 32.08 kB / 0.5268 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.008949, allocations: 0 / 0.5268 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-05/0.008966, allocations: 16.81 kB / 0.5268 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.009208, allocations: 4 kB / 0.5268 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.009484, allocations: 123.3 kB / 0.5269 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.42e-05/0.009528, allocations: 64.78 kB / 0.527 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.645e-05/0.009565, allocations: 5.266 kB / 0.527 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.009612, allocations: 70.2 kB / 0.527 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.009612, allocations: 0 / 0.527 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.00283/0.01244, allocations: 0.5997 MB / 0.5276 GB, free: 11.42 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.933699558954686]