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.0009361/0.0009361, allocations: 100.4 kB / 19.7 MB, free: 452 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.0009332/0.0009332, allocations: 212.1 kB / 23 MB, free: 2.98 MB / 13.93 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.9534/0.9534, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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-531:190: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-531:198: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.7645/0.7645, allocations: 203.8 MB / 0.5049 GB, free: 10.4 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009078/0.0009078, allocations: 70.17 kB / 0.7194 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4773/0.4782, allocations: 102 MB / 0.819 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002057/0.4803, allocations: 1.274 MB / 0.8203 GB, free: 444 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007936/0.4811, allocations: 0.5145 MB / 0.8208 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.4811, allocations: 5.031 kB / 0.8208 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.4811, allocations: 0 / 0.8208 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.125e-05/0.4812, allocations: 0.6562 kB / 0.8208 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005884/0.4818, allocations: 151.8 kB / 0.8209 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.034e-05/0.4818, allocations: 8.156 kB / 0.8209 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.4819, allocations: 2.594 kB / 0.8209 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.162e-05/0.4819, allocations: 4.812 kB / 0.8209 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.693e-05/0.482, allocations: 2.766 kB / 0.8209 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.482, allocations: 0 / 0.8209 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.4824, allocations: 267.6 kB / 0.8212 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.4824, allocations: 7.828 kB / 0.8212 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.4824, allocations: 3.797 kB / 0.8212 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.4827, allocations: 126.8 kB / 0.8213 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4827, allocations: 7.938 kB / 0.8213 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4827, allocations: 0 / 0.8213 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.4827, allocations: 1.297 kB / 0.8213 GB, free: 15.92 MB / 0.6198 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.0003891/0.4831, allocations: 279.9 kB / 0.8216 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4831, allocations: 9.109 kB / 0.8216 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.4832, allocations: 4.812 kB / 0.8216 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.091e-05/0.4832, allocations: 103.7 kB / 0.8217 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.4833, allocations: 384 / 0.8217 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.4833, allocations: 3.625 kB / 0.8217 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.479e-05/0.4834, allocations: 37.03 kB / 0.8217 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.4834, allocations: 4.188 kB / 0.8217 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4834, allocations: 9.172 kB / 0.8218 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4834, allocations: 0 / 0.8218 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.4834, allocations: 3.156 kB / 0.8218 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.4835, allocations: 103.2 kB / 0.8219 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.468e-05/0.4836, allocations: 19.83 kB / 0.8219 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.4836, allocations: 8.672 kB / 0.8219 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.4836, allocations: 0 / 0.8219 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.4836, allocations: 41.73 kB / 0.8219 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.4836, allocations: 3.938 kB / 0.8219 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001396/0.4838, allocations: 45.86 kB / 0.822 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.4838, allocations: 51.41 kB / 0.822 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.312e-05/0.4839, allocations: 98.8 kB / 0.8221 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.4839, allocations: 25.7 kB / 0.8221 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.4839, allocations: 81.52 kB / 0.8222 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.4839, allocations: 9.391 kB / 0.8222 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.484, allocations: 18.86 kB / 0.8222 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.493e-05/0.484, allocations: 312.1 kB / 0.8225 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.4841, allocations: 3.969 kB / 0.8225 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.146e-06/0.4841, allocations: 4.25 kB / 0.8225 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.917e-05/0.4841, allocations: 21.95 kB / 0.8226 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4841, allocations: 0 / 0.8226 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.921e-05/0.4842, allocations: 40.48 kB / 0.8226 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4842, allocations: 5.172 kB / 0.8226 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4842, allocations: 0.7188 kB / 0.8226 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.4842, allocations: 3.938 kB / 0.8226 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.4843, allocations: 10.45 kB / 0.8226 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003334/0.4847, allocations: 0.5908 MB / 0.8232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.4847, allocations: 0 / 0.8232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.4847, allocations: 4 kB / 0.8232 GB, free: 13.93 MB / 0.6198 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 6.254e-05/0.4848, allocations: 114.2 kB / 0.8233 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-06/0.4848, allocations: 0 / 0.8233 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.963e-05/0.4849, allocations: 47.98 kB / 0.8234 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.4849, allocations: 4.703 kB / 0.8234 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.4849, allocations: 0 / 0.8234 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.4849, allocations: 0 / 0.8234 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.39e-05/0.4849, allocations: 106.8 kB / 0.8235 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.485, allocations: 4.594 kB / 0.8235 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-05/0.485, allocations: 16.2 kB / 0.8235 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.485, allocations: 0 / 0.8235 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.485, allocations: 0 / 0.8235 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002133/0.4852, allocations: 0.5834 MB / 0.8241 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4852, allocations: 0.75 kB / 0.8241 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.543e-05/0.4853, allocations: 69.77 kB / 0.8241 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.4853, allocations: 5.281 kB / 0.8241 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.4853, allocations: 8.516 kB / 0.8241 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-06/0.4853, allocations: 0 / 0.8241 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.4853, allocations: 0.6562 kB / 0.8241 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.4853, allocations: 0 / 0.8241 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.617e-05/0.4854, allocations: 78.36 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4854, allocations: 0 / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001408/0.4855, allocations: 19.53 kB / 0.8242 GB, free: 12.88 MB / 0.6198 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.0001379/0.4856, allocations: 103 kB / 0.8243 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.4858, allocations: 26.03 kB / 0.8244 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4858, allocations: 3.938 kB / 0.8244 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.574e-05/0.4858, allocations: 12.56 kB / 0.8244 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.486, allocations: 3.406 kB / 0.8244 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.4863, allocations: 136.6 kB / 0.8245 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.006e-05/0.4864, allocations: 57 kB / 0.8246 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.4864, allocations: 8.844 kB / 0.8246 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.4864, allocations: 128 / 0.8246 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of Templates: time 0.002053/0.4884, allocations: 0.7146 MB / 0.8253 GB, free: 12.5 MB / 0.6198 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.862216888926923] Failed to read output from testmodel.py, exit status != 0: 0.4942136500030756 0.5060551 0.020730513000000002 Calling exit ...