Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001295/0.001295, allocations: 80.75 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.0009484/0.0009484, allocations: 181 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 1.005/1.005, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8229/0.8229, allocations: 154.9 MB / 415.1 MB, free: 220 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0.6562 kB / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.225e-05, allocations: 3.578 kB / 480.4 MB, free: 6.473 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001565/0.001577, allocations: 1.342 MB / 481.7 MB, free: 5.16 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007309/0.002308, allocations: 0.5595 MB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.991e-05/0.002328, allocations: 0 / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.002344, allocations: 1.062 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.271e-05/0.002387, allocations: 5.141 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.002724, allocations: 139 kB / 482.4 MB, free: 4.484 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.341e-05/0.002767, allocations: 11.83 kB / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.002802, allocations: 4 kB / 482.5 MB, free: 4.473 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.389e-05/0.002836, allocations: 9.422 kB / 482.5 MB, free: 4.465 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.121e-05/0.002877, allocations: 4 kB / 482.5 MB, free: 4.461 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.002889, allocations: 0 / 482.5 MB, free: 4.461 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005726/0.003461, allocations: 275.4 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.003474, allocations: 4.516 kB / 482.7 MB, free: 4.188 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.276e-05/0.003487, allocations: 9.594 kB / 482.8 MB, free: 4.18 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.003663, allocations: 143.5 kB / 482.9 MB, free: 4.039 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.003666, allocations: 3.984 kB / 482.9 MB, free: 4.035 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003667, allocations: 0 / 482.9 MB, free: 4.035 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.00367, allocations: 0 / 482.9 MB, free: 4.035 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002382/0.003908, allocations: 253.2 kB / 483.1 MB, free: 3.766 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.003937, allocations: 9.094 kB / 483.2 MB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.156e-05/0.003959, allocations: 4.031 kB / 483.2 MB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.204e-05/0.004031, allocations: 109.8 kB / 483.3 MB, free: 3.625 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.004039, allocations: 1 kB / 483.3 MB, free: 3.625 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-06/0.004045, allocations: 6.531 kB / 483.3 MB, free: 3.621 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.705e-05/0.004102, allocations: 42.19 kB / 483.3 MB, free: 3.574 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.004109, allocations: 192 / 483.3 MB, free: 3.574 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.004118, allocations: 384 / 483.3 MB, free: 3.574 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.004123, allocations: 384 / 483.3 MB, free: 3.574 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.087e-05/0.004134, allocations: 7.938 kB / 483.3 MB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.613e-05/0.00421, allocations: 58.48 kB / 483.4 MB, free: 3.496 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.221e-05/0.004242, allocations: 18.61 kB / 483.4 MB, free: 3.469 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.026e-05/0.004253, allocations: 4.859 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.004264, allocations: 0.7188 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.004281, allocations: 43.8 kB / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 6.62e-07/0.004282, allocations: 0 / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 7.296e-05/0.004355, allocations: 33.7 kB / 483.5 MB, free: 3.371 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.00438, allocations: 56.06 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.567e-05/0.004425, allocations: 99.31 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.004434, allocations: 33.62 kB / 483.7 MB, free: 3.156 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.674e-05/0.004451, allocations: 80.77 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.004473, allocations: 12.84 kB / 483.8 MB, free: 3.062 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.004494, allocations: 13.72 kB / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.00456, allocations: 315.4 kB / 484.1 MB, free: 2.727 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.42e-06/0.004566, allocations: 4 kB / 484.1 MB, free: 2.723 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-06/0.004571, allocations: 4.562 kB / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.834e-05/0.004589, allocations: 13.47 kB / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.004591, allocations: 0.9375 kB / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.215e-05/0.004623, allocations: 33.7 kB / 484.1 MB, free: 2.664 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.437e-06/0.004633, allocations: 5.719 kB / 484.1 MB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.004636, allocations: 0 / 484.1 MB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.004645, allocations: 0 / 484.1 MB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.883e-05/0.004744, allocations: 11.98 kB / 484.1 MB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002191/0.004963, allocations: 0.5907 MB / 484.7 MB, free: 2.035 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.367e-06/0.004973, allocations: 1 kB / 484.7 MB, free: 2.035 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.004977, allocations: 0 / 484.7 MB, free: 2.035 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.005024, allocations: 106.4 kB / 484.8 MB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-06/0.00503, allocations: 9.266 kB / 484.9 MB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.054e-05/0.00509, allocations: 40.25 kB / 484.9 MB, free: 1.871 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.005093, allocations: 3.938 kB / 484.9 MB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.005094, allocations: 1.25 kB / 484.9 MB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005097, allocations: 0 / 484.9 MB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.702e-05/0.005144, allocations: 73.78 kB / 485 MB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005145, allocations: 1.594 kB / 485 MB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.005184, allocations: 8 kB / 485 MB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.005186, allocations: 0 / 485 MB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-06/0.00519, allocations: 3.984 kB / 485 MB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001701/0.00536, allocations: 0.5798 MB / 485.6 MB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.005361, allocations: 0 / 485.6 MB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.116e-05/0.005402, allocations: 66.61 kB / 485.6 MB, free: 1.082 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-06/0.00541, allocations: 12.55 kB / 485.6 MB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-06/0.005417, allocations: 5.875 kB / 485.6 MB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.671e-06/0.005423, allocations: 0 / 485.6 MB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-06/0.005432, allocations: 0 / 485.6 MB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.005434, allocations: 0 / 485.6 MB, free: 1.066 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.684e-06/0.005442, allocations: 12.8 kB / 485.7 MB, free: 1.051 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005442, allocations: 1.156 kB / 485.7 MB, free: 1.051 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001014/0.005543, allocations: 11.94 kB / 485.7 MB, free: 1.039 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.353e-05/0.005637, allocations: 85.09 kB / 485.8 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.858e-05/0.005725, allocations: 26.19 kB / 485.8 MB, free: 0.918 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.005727, allocations: 0 / 485.8 MB, free: 0.918 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.086e-05/0.005758, allocations: 21.44 kB / 485.8 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.424e-05/0.005813, allocations: 0.5938 kB / 485.8 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002005/0.006013, allocations: 114 kB / 485.9 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.227e-05/0.006035, allocations: 51.36 kB / 486 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.045e-05/0.006046, allocations: 0.6875 kB / 486 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.006069, allocations: 52.5 kB / 486 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.00607, allocations: 0 / 486 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of Templates: time 0.001801/0.00787, allocations: 0.5284 MB / 486.5 MB, free: 176 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4971904791891575]