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.001296/0.001296, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001491/0.001491, allocations: 173 kB / 23.36 MB, free: 1.133 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.9749/0.9749, allocations: 177.1 MB / 203.8 MB, free: 5.5 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.8685/0.8685, allocations: 154.6 MB / 414.8 MB, free: 0.5352 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.994e-06/1.994e-06, allocations: 0 / 480 MB, free: 6.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.714e-05/3.913e-05, allocations: 8.359 kB / 480 MB, free: 6.859 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003119/0.003158, allocations: 1.38 MB / 481.4 MB, free: 5.5 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.004292, allocations: 0.5577 MB / 482 MB, free: 4.953 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.004324, allocations: 0 / 482 MB, free: 4.953 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.202e-05/0.004346, allocations: 3.938 kB / 482 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.299e-05/0.004409, allocations: 10.97 kB / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005953/0.005004, allocations: 144.3 kB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.149e-05/0.005075, allocations: 18.34 kB / 482.2 MB, free: 4.797 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.005122, allocations: 4 kB / 482.2 MB, free: 4.793 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.262e-05/0.005174, allocations: 15.91 kB / 482.2 MB, free: 4.777 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/0.005235, allocations: 8.891 kB / 482.2 MB, free: 4.77 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.00525, allocations: 0 / 482.2 MB, free: 4.77 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.005743, allocations: 276.4 kB / 482.5 MB, free: 4.5 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.00576, allocations: 3.984 kB / 482.5 MB, free: 4.496 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.00578, allocations: 8 kB / 482.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.006051, allocations: 160.8 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.006054, allocations: 0 / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006055, allocations: 0 / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.006059, allocations: 0 / 482.6 MB, free: 4.332 MB / 442.7 MB 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.0003375/0.006396, allocations: 256.1 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.006432, allocations: 9.25 kB / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.006463, allocations: 12.88 kB / 482.9 MB, free: 4.039 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.023e-05/0.006554, allocations: 105.8 kB / 483 MB, free: 3.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.006566, allocations: 5.344 kB / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.006573, allocations: 384 / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.325e-05/0.006646, allocations: 38.25 kB / 483 MB, free: 3.863 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.006654, allocations: 5.344 kB / 483 MB, free: 3.859 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.00666, allocations: 384 / 483 MB, free: 3.859 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.006666, allocations: 384 / 483 MB, free: 3.859 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.896e-05/0.006695, allocations: 12.64 kB / 483.1 MB, free: 3.848 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.006954, allocations: 162.2 kB / 483.2 MB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.007119, allocations: 42.28 kB / 483.3 MB, free: 3.629 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.007145, allocations: 12.86 kB / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.007162, allocations: 1.469 kB / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.007189, allocations: 34.62 kB / 483.3 MB, free: 3.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.714e-06/0.007191, allocations: 0 / 483.3 MB, free: 3.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001344/0.007325, allocations: 49.62 kB / 483.4 MB, free: 3.516 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.007362, allocations: 55.94 kB / 483.4 MB, free: 3.449 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.353e-05/0.007425, allocations: 102.7 kB / 483.5 MB, free: 3.336 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.007436, allocations: 26.42 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.007479, allocations: 84.08 kB / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.007493, allocations: 21.11 kB / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.007527, allocations: 17.7 kB / 483.7 MB, free: 3.176 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.00762, allocations: 310.8 kB / 484 MB, free: 2.863 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.007632, allocations: 4.625 kB / 484 MB, free: 2.859 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.007656, allocations: 17.7 kB / 484 MB, free: 2.836 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.344e-05/0.007699, allocations: 30.89 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007701, allocations: 0 / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.86e-05/0.00778, allocations: 46.44 kB / 484.1 MB, free: 2.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.007793, allocations: 4.594 kB / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.007801, allocations: 8 kB / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.007814, allocations: 0.5312 kB / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.683e-05/0.007871, allocations: 20.52 kB / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.007873, allocations: 0 / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.007894, allocations: 0.875 kB / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.007899, allocations: 0 / 484.1 MB, free: 2.719 MB / 442.7 MB 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 6.153e-05/0.007961, allocations: 111.5 kB / 484.2 MB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.007984, allocations: 4 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.008088, allocations: 53.36 kB / 484.3 MB, free: 2.543 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.00809, allocations: 1.438 kB / 484.3 MB, free: 2.543 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.008093, allocations: 3.938 kB / 484.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.008097, allocations: 2.766 kB / 484.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.008217, allocations: 74.42 kB / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.008218, allocations: 0.9375 kB / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.00825, allocations: 11.92 kB / 484.3 MB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.008253, allocations: 0 / 484.3 MB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-06/0.008257, allocations: 5.031 kB / 484.4 MB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.008259, allocations: 3.938 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.00826, allocations: 0.8438 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.314e-05/0.008353, allocations: 139.5 kB / 484.5 MB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.008358, allocations: 0 / 484.5 MB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.008369, allocations: 8.594 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.567e-05/0.008414, allocations: 0.5 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.008429, allocations: 3.984 kB / 484.5 MB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.008432, allocations: 2 kB / 484.5 MB, free: 2.266 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.35e-05/0.008445, allocations: 12.8 kB / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008445, allocations: 0 / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002533/0.008699, allocations: 19.94 kB / 484.5 MB, free: 2.23 MB / 442.7 MB 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.0001601/0.008859, allocations: 101.2 kB / 484.6 MB, free: 2.121 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.943e-05/0.008928, allocations: 24.84 kB / 484.7 MB, free: 2.094 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.008932, allocations: 1.438 kB / 484.7 MB, free: 2.094 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-05/0.00895, allocations: 20.77 kB / 484.7 MB, free: 2.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.009105, allocations: 4 kB / 484.7 MB, free: 2.066 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.009346, allocations: 108.4 kB / 484.8 MB, free: 1.938 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.932e-05/0.009385, allocations: 55.36 kB / 484.8 MB, free: 1.863 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.195e-05/0.009417, allocations: 5.859 kB / 484.9 MB, free: 1.859 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.009458, allocations: 55.36 kB / 484.9 MB, free: 1.805 MB / 442.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009458, allocations: 0 / 484.9 MB, free: 1.805 MB / 442.7 MB Notification: Performance of Templates: time 0.002651/0.01211, allocations: 0.5848 MB / 485.5 MB, free: 1.266 MB / 442.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6478144358843565]