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.0008428/0.0008428, 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.0009343/0.0009343, 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.9561/0.9561, allocations: 177.1 MB / 203.8 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.8242/0.8242, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.482e-06/1.482e-06, allocations: 0 / 480 MB, free: 6.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.616e-05, allocations: 2.312 kB / 480 MB, free: 6.977 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001565/0.001581, allocations: 1.331 MB / 481.3 MB, free: 5.664 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007322/0.002314, allocations: 0.5643 MB / 481.9 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.002337, allocations: 0.8438 kB / 481.9 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.002352, allocations: 0.875 kB / 481.9 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.002398, allocations: 3.25 kB / 481.9 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.002785, allocations: 150.5 kB / 482 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.858e-05/0.002834, allocations: 21.69 kB / 482.1 MB, free: 4.957 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.00287, allocations: 8 kB / 482.1 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.147e-05/0.002901, allocations: 11.98 kB / 482.1 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.608e-05/0.002947, allocations: 11.92 kB / 482.1 MB, free: 4.926 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.002959, allocations: 4 kB / 482.1 MB, free: 4.922 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.003226, allocations: 267.4 kB / 482.4 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.003239, allocations: 5.094 kB / 482.4 MB, free: 4.656 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.367e-05/0.003253, allocations: 4 kB / 482.4 MB, free: 4.652 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.003422, allocations: 167.4 kB / 482.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.003424, allocations: 0.5 kB / 482.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003424, allocations: 0 / 482.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.003427, allocations: 0.875 kB / 482.5 MB, free: 4.488 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.0002638/0.003691, allocations: 255.4 kB / 482.8 MB, free: 4.215 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.003722, allocations: 9.094 kB / 482.8 MB, free: 4.207 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.003744, allocations: 4.922 kB / 482.8 MB, free: 4.203 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.172e-05/0.003816, allocations: 106.4 kB / 482.9 MB, free: 4.074 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.003826, allocations: 4.375 kB / 482.9 MB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.003838, allocations: 5.609 kB / 482.9 MB, free: 4.066 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.643e-05/0.003904, allocations: 38.19 kB / 482.9 MB, free: 4.023 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.003911, allocations: 0.8125 kB / 482.9 MB, free: 4.023 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.003919, allocations: 5 kB / 482.9 MB, free: 4.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.003924, allocations: 384 / 482.9 MB, free: 4.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.003944, allocations: 13.41 kB / 483 MB, free: 4.008 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.004121, allocations: 158 kB / 483.1 MB, free: 3.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.004241, allocations: 35.28 kB / 483.2 MB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.004258, allocations: 20.31 kB / 483.2 MB, free: 3.777 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.00427, allocations: 7.938 kB / 483.2 MB, free: 3.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.004288, allocations: 31.28 kB / 483.2 MB, free: 3.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.004289, allocations: 0 / 483.2 MB, free: 3.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 8.619e-05/0.004375, allocations: 46.91 kB / 483.3 MB, free: 3.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.004403, allocations: 59.28 kB / 483.3 MB, free: 3.609 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.298e-05/0.004446, allocations: 98.72 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.004454, allocations: 30.61 kB / 483.4 MB, free: 3.465 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.233e-05/0.004486, allocations: 88.06 kB / 483.5 MB, free: 3.375 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.694e-06/0.004494, allocations: 12.64 kB / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.004517, allocations: 17.72 kB / 483.6 MB, free: 3.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.004586, allocations: 315.5 kB / 483.9 MB, free: 3.023 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/0.004595, allocations: 11.92 kB / 483.9 MB, free: 3.012 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.00461, allocations: 15.03 kB / 483.9 MB, free: 2.992 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.787e-05/0.004638, allocations: 25.69 kB / 483.9 MB, free: 2.961 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.00464, allocations: 0 / 483.9 MB, free: 2.961 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.433e-05/0.004684, allocations: 51.28 kB / 484 MB, free: 2.906 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.004693, allocations: 4 kB / 484 MB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.004697, allocations: 0 / 484 MB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.004707, allocations: 1.062 kB / 484 MB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.796e-05/0.004735, allocations: 15.94 kB / 484 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.004737, allocations: 0 / 484 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.329e-05/0.00475, allocations: 5.062 kB / 484 MB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.004753, allocations: 0 / 484 MB, free: 2.883 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 4.269e-05/0.004796, allocations: 109.8 kB / 484.1 MB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.004808, allocations: 9.5 kB / 484.1 MB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.832e-05/0.004877, allocations: 53.17 kB / 484.2 MB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.004879, allocations: 4 kB / 484.2 MB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.004881, allocations: 4.719 kB / 484.2 MB, free: 2.695 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.004883, allocations: 0 / 484.2 MB, free: 2.695 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.759e-05/0.004961, allocations: 75.22 kB / 484.2 MB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.004962, allocations: 0 / 484.2 MB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.389e-05/0.004975, allocations: 12 kB / 484.3 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.004976, allocations: 0 / 484.3 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.00498, allocations: 1.719 kB / 484.3 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.004981, allocations: 0 / 484.3 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.004982, allocations: 0 / 484.3 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.955e-05/0.005041, allocations: 139.4 kB / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-06/0.005048, allocations: 12.75 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-06/0.005054, allocations: 0 / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.293e-05/0.005077, allocations: 0 / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-06/0.005087, allocations: 8.438 kB / 484.4 MB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.005089, allocations: 4.688 kB / 484.4 MB, free: 2.418 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.505e-06/0.005098, allocations: 8.797 kB / 484.4 MB, free: 2.406 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005098, allocations: 0.75 kB / 484.4 MB, free: 2.406 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001331/0.005231, allocations: 23.92 kB / 484.4 MB, free: 2.383 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.0001061/0.005337, allocations: 97.22 kB / 484.5 MB, free: 2.277 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.95e-05/0.005386, allocations: 26 kB / 484.6 MB, free: 2.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.005388, allocations: 0 / 484.6 MB, free: 2.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.147e-06/0.005398, allocations: 12.86 kB / 484.6 MB, free: 2.234 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.382e-05/0.005491, allocations: 6.875 kB / 484.6 MB, free: 2.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001842/0.005676, allocations: 111.6 kB / 484.7 MB, free: 2.098 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.016e-05/0.005706, allocations: 65.12 kB / 484.8 MB, free: 2.016 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.329e-05/0.005729, allocations: 10.33 kB / 484.8 MB, free: 2.008 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.005755, allocations: 51.38 kB / 484.8 MB, free: 1.957 MB / 442.7 MB Notification: Performance of SimCode: time 3.2e-07/0.005756, allocations: 0 / 484.8 MB, free: 1.957 MB / 442.7 MB Notification: Performance of Templates: time 0.001793/0.007549, allocations: 0.5779 MB / 485.4 MB, free: 1.422 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5964480047114193]