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.002345/0.002345, allocations: 84.08 kB / 19.44 MB, free: 332 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.002812/0.002812, allocations: 165.7 kB / 22.76 MB, free: 1.648 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.557/1.557, 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.344/1.344, allocations: 154.8 MB / 414.3 MB, free: 464 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.593e-06/1.593e-06, allocations: 0 / 0.5198 GB, free: 2.316 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.66e-05, allocations: 3.859 kB / 0.5199 GB, free: 2.312 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002451/0.002477, allocations: 1.291 MB / 0.5211 GB, free: 1.039 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.003608, allocations: 0.5421 MB / 0.5216 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.00363, allocations: 4 kB / 0.5216 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.003644, allocations: 0.9688 kB / 0.5216 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.039e-05/0.003695, allocations: 3.984 kB / 0.5217 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.004241, allocations: 144.2 kB / 0.5218 GB, free: 360 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.372e-05/0.004295, allocations: 9.438 kB / 0.5218 GB, free: 352 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.004336, allocations: 0 / 0.5218 GB, free: 352 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.816e-05/0.004374, allocations: 7.984 kB / 0.5218 GB, free: 344 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.004423, allocations: 4 kB / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.004438, allocations: 1.094 kB / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005098/0.004948, allocations: 275.3 kB / 0.5221 GB, free: 64 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.004961, allocations: 0 / 0.5221 GB, free: 64 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.004981, allocations: 4.688 kB / 0.5221 GB, free: 60 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.005293, allocations: 147.5 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005296, allocations: 1.281 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.62e-07/0.005296, allocations: 0 / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.0053, allocations: 4 kB / 0.5222 GB, free: 15.91 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.0005001/0.0058, allocations: 376.9 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.005839, allocations: 8.031 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.005878, allocations: 1.594 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.006008, allocations: 112.6 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.006021, allocations: 5.094 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.006029, allocations: 384 / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.921e-05/0.006128, allocations: 39.05 kB / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.006136, allocations: 192 / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.006146, allocations: 6.734 kB / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.00615, allocations: 384 / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.16e-05/0.006182, allocations: 7.938 kB / 0.5228 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.006356, allocations: 112.6 kB / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.271e-05/0.006429, allocations: 27.09 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/0.006455, allocations: 12.62 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.006478, allocations: 0 / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.006523, allocations: 49.31 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.006524, allocations: 1.344 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001709/0.006695, allocations: 37.66 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.00674, allocations: 52 kB / 0.523 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.006869, allocations: 162.7 kB / 0.5232 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.006889, allocations: 25.7 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.74e-05/0.006966, allocations: 132.4 kB / 0.5233 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.006995, allocations: 7.953 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.007035, allocations: 19.38 kB / 0.5234 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002572/0.007292, allocations: 496.1 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.007304, allocations: 0.5 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.091e-05/0.007315, allocations: 4.906 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.752e-05/0.007352, allocations: 19.62 kB / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.007354, allocations: 0.6875 kB / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.133e-05/0.007426, allocations: 38.22 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.007441, allocations: 8.625 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.007445, allocations: 0 / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.007458, allocations: 0.9062 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.007623, allocations: 11.98 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006313/0.008255, allocations: 0.898 MB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.008275, allocations: 5.688 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.008283, allocations: 4 kB / 0.5248 GB, free: 13.04 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 0.0001128/0.008396, allocations: 156.6 kB / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.008406, allocations: 3.938 kB / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.008522, allocations: 46.41 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008523, allocations: 7.938 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.008528, allocations: 0 / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.00853, allocations: 0.9688 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.008644, allocations: 120.6 kB / 0.5251 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.008645, allocations: 1.156 kB / 0.5251 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.2e-05/0.008727, allocations: 11.94 kB / 0.5251 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.008729, allocations: 0 / 0.5251 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.008741, allocations: 10.95 kB / 0.5252 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005637/0.009305, allocations: 0.9011 MB / 0.526 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009306, allocations: 0 / 0.526 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.009408, allocations: 76.33 kB / 0.5261 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-06/0.009416, allocations: 4 kB / 0.5261 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.009428, allocations: 7.984 kB / 0.5261 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.401e-05/0.009442, allocations: 3.031 kB / 0.5261 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.009471, allocations: 0 / 0.5261 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.009474, allocations: 0 / 0.5261 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.951e-05/0.009543, allocations: 123.2 kB / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009543, allocations: 0 / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001828/0.009726, allocations: 8 kB / 0.5262 GB, free: 11.48 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.0001841/0.00991, allocations: 108.6 kB / 0.5263 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001771/0.01009, allocations: 27.67 kB / 0.5264 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01009, allocations: 0 / 0.5264 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.0102, allocations: 24.95 kB / 0.5264 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.01034, allocations: 8.438 kB / 0.5264 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/0.0108, allocations: 114.2 kB / 0.5265 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.876e-05/0.01086, allocations: 55.86 kB / 0.5266 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.408e-05/0.01087, allocations: 3.031 kB / 0.5266 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.01089, allocations: 12.44 kB / 0.5266 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.01089, allocations: 0 / 0.5266 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.003372/0.01426, allocations: 496.3 kB / 0.5271 GB, free: 10.64 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.15574244200252]