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.001375/0.001375, allocations: 78.48 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001697/0.001697, allocations: 170.4 kB / 22.46 MB, free: 5.359 MB / 14.72 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.441/1.441, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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-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 1.218/1.218, allocations: 154.5 MB / 413.7 MB, free: 5.301 MB / 382.1 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_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.633e-06/1.633e-06, allocations: 0 / 0.6185 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.991e-05, allocations: 3.375 kB / 0.6185 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002605/0.002635, allocations: 1.273 MB / 0.6197 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.003718, allocations: 0.5204 MB / 0.6203 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.003741, allocations: 0 / 0.6203 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.003762, allocations: 0 / 0.6203 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.367e-05/0.003816, allocations: 3.938 kB / 0.6203 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.004383, allocations: 147.2 kB / 0.6204 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.212e-05/0.004446, allocations: 11.92 kB / 0.6204 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.004488, allocations: 4 kB / 0.6204 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.348e-05/0.004532, allocations: 4 kB / 0.6204 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.257e-05/0.004584, allocations: 7.938 kB / 0.6204 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.004602, allocations: 0 / 0.6204 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004813/0.005083, allocations: 267.4 kB / 0.6207 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.005101, allocations: 3.938 kB / 0.6207 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.005121, allocations: 4 kB / 0.6207 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.005409, allocations: 147.6 kB / 0.6208 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.005413, allocations: 4 kB / 0.6208 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.41e-07/0.005414, allocations: 3.938 kB / 0.6208 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.005418, allocations: 0 / 0.6208 GB, free: 2.293 MB / 0.5294 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.0004549/0.005873, allocations: 282 kB / 0.6211 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.005911, allocations: 9.469 kB / 0.6211 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.005943, allocations: 0.9375 kB / 0.6211 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.00606, allocations: 109.7 kB / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.006074, allocations: 384 / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.006082, allocations: 384 / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.006188, allocations: 38.25 kB / 0.6213 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.006198, allocations: 192 / 0.6213 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.006206, allocations: 384 / 0.6213 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.006211, allocations: 4.312 kB / 0.6213 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.946e-05/0.00624, allocations: 15.94 kB / 0.6213 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.006398, allocations: 97.33 kB / 0.6214 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.895e-05/0.006477, allocations: 30.53 kB / 0.6214 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.742e-05/0.006504, allocations: 8.922 kB / 0.6214 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.006526, allocations: 0 / 0.6214 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.006557, allocations: 34.55 kB / 0.6214 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.006558, allocations: 4 kB / 0.6214 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001388/0.006696, allocations: 41.7 kB / 0.6215 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.006755, allocations: 55.39 kB / 0.6215 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.006831, allocations: 97.8 kB / 0.6216 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.00685, allocations: 25.7 kB / 0.6217 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.006889, allocations: 88.06 kB / 0.6217 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.006919, allocations: 7.953 kB / 0.6217 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.006956, allocations: 13.72 kB / 0.6218 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.007106, allocations: 314.8 kB / 0.6221 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.007119, allocations: 4.25 kB / 0.6221 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-06/0.007126, allocations: 4 kB / 0.6221 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.773e-05/0.007174, allocations: 16.86 kB / 0.6221 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007176, allocations: 3.938 kB / 0.6221 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001043/0.007281, allocations: 41.66 kB / 0.6221 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.007296, allocations: 4 kB / 0.6221 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.0073, allocations: 0 / 0.6221 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.007313, allocations: 0 / 0.6221 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.007467, allocations: 15.92 kB / 0.6221 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005495/0.008017, allocations: 0.5939 MB / 0.6227 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.008034, allocations: 0 / 0.6227 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.008039, allocations: 0 / 0.6227 GB, free: 164 kB / 0.5294 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.979e-05/0.008129, allocations: 114.8 kB / 0.6228 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-06/0.008137, allocations: 3.938 kB / 0.6228 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.008262, allocations: 48.91 kB / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.008263, allocations: 0 / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.008269, allocations: 3.984 kB / 0.6229 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.008272, allocations: 128 / 0.6229 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.158e-05/0.008354, allocations: 105.3 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.008355, allocations: 0 / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.008428, allocations: 11.98 kB / 0.623 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008429, allocations: 0 / 0.623 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.008438, allocations: 3.938 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004758/0.008914, allocations: 0.5822 MB / 0.6236 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.008915, allocations: 0 / 0.6236 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.446e-05/0.008999, allocations: 76.95 kB / 0.6236 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-06/0.009009, allocations: 12 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-06/0.009019, allocations: 4 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/0.009032, allocations: 0 / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.009043, allocations: 0 / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.009049, allocations: 4 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.009095, allocations: 79.28 kB / 0.6237 GB, free: 15.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.009095, allocations: 0 / 0.6237 GB, free: 15.03 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001872/0.009283, allocations: 8 kB / 0.6238 GB, free: 15.02 MB / 0.545 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.0001618/0.009444, allocations: 107.2 kB / 0.6239 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.009602, allocations: 24.08 kB / 0.6239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.009604, allocations: 0 / 0.6239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.462e-05/0.009689, allocations: 23.86 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.009825, allocations: 3.938 kB / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.01015, allocations: 100.8 kB / 0.624 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.641e-05/0.01021, allocations: 59.34 kB / 0.6241 GB, free: 14.65 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.605e-05/0.01023, allocations: 4.125 kB / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.01024, allocations: 8.5 kB / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.01024, allocations: 0 / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of Templates: time 0.002775/0.01302, allocations: 464.7 kB / 0.6245 GB, free: 14.22 MB / 0.545 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.793996829539537] Failed to read output from testmodel.py, exit status != 0: 0.02198164537549019 0.035761666000000004 0.027418808000000003 Calling exit ...