Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.00138/0.00138, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 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.001648/0.001648, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.243/1.243, allocations: 154.8 MB / 414.4 MB, free: 456 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 178] 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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5199 GB, free: 2.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.823e-05, allocations: 3.562 kB / 0.5199 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002428/0.002456, allocations: 1.266 MB / 0.5211 GB, free: 1.043 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.003626, allocations: 0.519 MB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.053e-05/0.003647, allocations: 0 / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.00367, allocations: 3.938 kB / 0.5216 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.573e-05/0.003716, allocations: 5.406 kB / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.004224, allocations: 136.5 kB / 0.5217 GB, free: 396 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.193e-05/0.004276, allocations: 19.86 kB / 0.5218 GB, free: 376 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.205e-05/0.004308, allocations: 0 / 0.5218 GB, free: 376 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.34e-05/0.004341, allocations: 8.672 kB / 0.5218 GB, free: 368 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.095e-05/0.004382, allocations: 0 / 0.5218 GB, free: 368 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.004395, allocations: 1.281 kB / 0.5218 GB, free: 368 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004827/0.004877, allocations: 271.4 kB / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.004889, allocations: 0 / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.004918, allocations: 7.938 kB / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.005216, allocations: 152.7 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005219, allocations: 0 / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.91e-07/0.005219, allocations: 0 / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.005223, allocations: 0.5625 kB / 0.5222 GB, free: 15.93 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004284/0.005652, allocations: 274.8 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.005692, allocations: 12.03 kB / 0.5225 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.005731, allocations: 1.781 kB / 0.5225 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.005847, allocations: 109.7 kB / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.005861, allocations: 6.844 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-06/0.005868, allocations: 384 / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.497e-05/0.005963, allocations: 34.25 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.005971, allocations: 192 / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.005979, allocations: 384 / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.005982, allocations: 384 / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.012e-05/0.006013, allocations: 8.719 kB / 0.5226 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.006168, allocations: 105.3 kB / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.918e-05/0.006227, allocations: 23.77 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.648e-05/0.006253, allocations: 12.84 kB / 0.5227 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.006275, allocations: 4.062 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.006307, allocations: 31.06 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.006308, allocations: 0.6875 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001604/0.006469, allocations: 42.66 kB / 0.5228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.006517, allocations: 55.41 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.674e-05/0.006604, allocations: 102.2 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.006628, allocations: 30.61 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.006673, allocations: 80.14 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.006697, allocations: 7.953 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.006732, allocations: 14.5 kB / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.006902, allocations: 310.8 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.006913, allocations: 0.625 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.949e-06/0.006923, allocations: 5 kB / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.515e-05/0.006959, allocations: 16.84 kB / 0.5234 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.00696, allocations: 0.8125 kB / 0.5234 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.345e-05/0.007033, allocations: 43.45 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.007046, allocations: 4 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.007049, allocations: 3.938 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.007067, allocations: 0 / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.007213, allocations: 15.92 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004785/0.007692, allocations: 0.5837 MB / 0.5241 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.21e-05/0.007714, allocations: 4.031 kB / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.007719, allocations: 0 / 0.5241 GB, free: 13.83 MB / 0.4948 GB 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 8.537e-05/0.007804, allocations: 106.6 kB / 0.5242 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.007818, allocations: 9.25 kB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.007936, allocations: 48.94 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.007938, allocations: 0 / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.007942, allocations: 0.875 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.007944, allocations: 0 / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.008048, allocations: 110.5 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.008048, allocations: 0 / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-05/0.008124, allocations: 8 kB / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.008126, allocations: 2.938 kB / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.008137, allocations: 3.938 kB / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005056/0.008642, allocations: 0.5899 MB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.008643, allocations: 0 / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.763e-05/0.008731, allocations: 65.02 kB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.008739, allocations: 4 kB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.008755, allocations: 7.016 kB / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.48e-05/0.00877, allocations: 0 / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.008782, allocations: 0 / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.008784, allocations: 0 / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.00883, allocations: 79.28 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.00883, allocations: 0 / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002031/0.009033, allocations: 15.94 kB / 0.5251 GB, free: 12.71 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 (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 0.0001799/0.009213, allocations: 108.7 kB / 0.5252 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.009384, allocations: 19.92 kB / 0.5252 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.00939, allocations: 5.406 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.753e-05/0.009477, allocations: 11.98 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.009629, allocations: 8.5 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.009973, allocations: 109.2 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.705e-05/0.01003, allocations: 56.14 kB / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.433e-05/0.01004, allocations: 0.5 kB / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.01007, allocations: 9 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of SimCode: time 3.9e-07/0.01007, allocations: 3.062 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.002988/0.01305, allocations: 0.4888 MB / 0.5259 GB, free: 11.91 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.955661424086429]