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.0007537/0.0007537, allocations: 119 kB / 19.7 MB, free: 0.5195 MB / 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.0008435/0.0008435, allocations: 207.8 kB / 23 MB, free: 3.117 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.8391/0.8391, allocations: 230.6 MB / 256.8 MB, free: 3.441 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.7437/0.7437, allocations: 203.8 MB / 0.5049 GB, free: 0.668 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.0009015/0.0009015, allocations: 75.89 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4703/0.4712, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00234/0.4735, allocations: 1.281 MB / 0.8203 GB, free: 24.33 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.4746, allocations: 0.5773 MB / 0.8209 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.4746, allocations: 3.938 kB / 0.8209 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.4746, allocations: 1.984 kB / 0.8209 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.206e-05/0.4747, allocations: 9.234 kB / 0.8209 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.4752, allocations: 138.2 kB / 0.821 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.495e-05/0.4753, allocations: 14.5 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.4753, allocations: 1.219 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 2.554e-05/0.4754, allocations: 3.031 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.4754, allocations: 7.406 kB / 0.8211 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.4754, allocations: 1.406 kB / 0.8211 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005298/0.476, allocations: 344 kB / 0.8214 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.476, allocations: 1 kB / 0.8214 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.476, allocations: 6.203 kB / 0.8214 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.4763, allocations: 140.8 kB / 0.8215 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4763, allocations: 0.6562 kB / 0.8215 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4763, allocations: 0.875 kB / 0.8215 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.4763, allocations: 0 / 0.8215 GB, free: 23.71 MB / 0.6355 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.0003287/0.4766, allocations: 286.3 kB / 0.8218 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4766, allocations: 11.27 kB / 0.8218 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.4767, allocations: 2.094 kB / 0.8218 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.286e-05/0.4767, allocations: 106.7 kB / 0.8219 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.4767, allocations: 1.281 kB / 0.8219 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.4767, allocations: 2.469 kB / 0.8219 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.529e-05/0.4768, allocations: 39.05 kB / 0.822 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.4768, allocations: 0.75 kB / 0.822 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.4769, allocations: 5.375 kB / 0.822 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.4769, allocations: 1.375 kB / 0.822 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.664e-05/0.4769, allocations: 2.906 kB / 0.822 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001095/0.477, allocations: 125 kB / 0.8221 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.563e-05/0.477, allocations: 24.27 kB / 0.8221 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.4771, allocations: 12.53 kB / 0.8221 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.4771, allocations: 0 / 0.8221 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.264e-05/0.4771, allocations: 36.48 kB / 0.8222 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.4771, allocations: 0 / 0.8222 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001292/0.4772, allocations: 44.53 kB / 0.8222 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.4772, allocations: 60.16 kB / 0.8223 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.192e-05/0.4773, allocations: 93.16 kB / 0.8224 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.699e-06/0.4773, allocations: 26.86 kB / 0.8224 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.004e-05/0.4773, allocations: 80.14 kB / 0.8225 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.4773, allocations: 5.859 kB / 0.8225 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/0.4773, allocations: 16.77 kB / 0.8225 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.951e-05/0.4774, allocations: 316 kB / 0.8228 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.4774, allocations: 6.891 kB / 0.8228 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-06/0.4774, allocations: 6.062 kB / 0.8228 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.5e-05/0.4774, allocations: 15.55 kB / 0.8228 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4774, allocations: 0 / 0.8228 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.084e-05/0.4775, allocations: 39.66 kB / 0.8228 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4775, allocations: 5.75 kB / 0.8229 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4775, allocations: 5.094 kB / 0.8229 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.4775, allocations: 4.281 kB / 0.8229 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.4776, allocations: 18.67 kB / 0.8229 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001756/0.4778, allocations: 0.5871 MB / 0.8235 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.105e-05/0.4778, allocations: 0 / 0.8235 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.4778, allocations: 1.703 kB / 0.8235 GB, free: 21.7 MB / 0.6355 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 4.363e-05/0.4779, allocations: 113.4 kB / 0.8236 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-06/0.4779, allocations: 4.906 kB / 0.8236 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.658e-05/0.478, allocations: 48.61 kB / 0.8236 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.478, allocations: 3.984 kB / 0.8236 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.478, allocations: 1.266 kB / 0.8236 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.478, allocations: 0 / 0.8236 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.78e-05/0.478, allocations: 130.9 kB / 0.8237 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.478, allocations: 4.969 kB / 0.8237 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.987e-05/0.4781, allocations: 9.984 kB / 0.8238 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4781, allocations: 1.375 kB / 0.8238 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.4781, allocations: 4.031 kB / 0.8238 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001141/0.4782, allocations: 0.5839 MB / 0.8243 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4782, allocations: 4.875 kB / 0.8243 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.873e-05/0.4782, allocations: 63.73 kB / 0.8244 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-06/0.4782, allocations: 2.75 kB / 0.8244 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.4783, allocations: 5.641 kB / 0.8244 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.131e-06/0.4783, allocations: 0 / 0.8244 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.4783, allocations: 5.484 kB / 0.8244 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.4783, allocations: 1.125 kB / 0.8244 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.584e-05/0.4783, allocations: 82.48 kB / 0.8245 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4783, allocations: 0 / 0.8245 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001283/0.4784, allocations: 11.45 kB / 0.8245 GB, free: 20.61 MB / 0.6355 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.0001228/0.4785, allocations: 107.8 kB / 0.8246 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.4787, allocations: 16.25 kB / 0.8246 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4787, allocations: 0 / 0.8246 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.562e-05/0.4787, allocations: 17.98 kB / 0.8246 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001141/0.4788, allocations: 6.594 kB / 0.8246 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.4791, allocations: 135.2 kB / 0.8248 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.667e-05/0.4792, allocations: 0.6792 MB / 0.8254 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/0.4792, allocations: 7.438 kB / 0.8254 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.4792, allocations: 1.062 kB / 0.8254 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of Templates: time 0.002132/0.4813, allocations: 0.7034 MB / 0.8261 GB, free: 19.61 MB / 0.6355 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.550855729961768] Failed to read output from testmodel.py, exit status != 0: 0.4867799589410424 0.49549667000000003 0.017452310000000002 Calling exit ...