Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.0008568/0.0008568, allocations: 72.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008661/0.0008661, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9838/0.9838, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.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.7181/0.7181, allocations: 154.5 MB / 414.5 MB, free: 0.832 MB / 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 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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.889e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00169/0.001719, allocations: 1.298 MB / 0.6205 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008151/0.002534, allocations: 0.5176 MB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.002563, allocations: 0 / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.002583, allocations: 0 / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.073e-05/0.002634, allocations: 11.86 kB / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.003058, allocations: 154.6 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.057e-05/0.003128, allocations: 19.92 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.153e-05/0.00318, allocations: 3.984 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.003219, allocations: 15.92 kB / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.003271, allocations: 7.984 kB / 0.6212 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.003286, allocations: 4 kB / 0.6212 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.003567, allocations: 267.4 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.003583, allocations: 0 / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.003602, allocations: 11.92 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.00381, allocations: 159.5 kB / 0.6217 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.003814, allocations: 8 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.054e-06/0.003816, allocations: 4 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.00382, allocations: 3.938 kB / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003787/0.004199, allocations: 278 kB / 0.6219 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.004244, allocations: 13.45 kB / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.004274, allocations: 0.9375 kB / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.944e-05/0.004354, allocations: 109.8 kB / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.004363, allocations: 384 / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.004373, allocations: 4.375 kB / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.389e-05/0.004467, allocations: 38.25 kB / 0.6221 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.004474, allocations: 4.188 kB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.004484, allocations: 4.375 kB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.004488, allocations: 384 / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.43e-05/0.004532, allocations: 19.88 kB / 0.6221 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.004795, allocations: 200.5 kB / 0.6223 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.004961, allocations: 46.69 kB / 0.6224 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.004986, allocations: 12.86 kB / 0.6224 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.005006, allocations: 7.984 kB / 0.6224 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.005023, allocations: 30.56 kB / 0.6224 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.005024, allocations: 4 kB / 0.6224 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0004846/0.005509, allocations: 61.56 kB / 0.6225 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.005539, allocations: 55.41 kB / 0.6225 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.535e-05/0.005594, allocations: 93.86 kB / 0.6226 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.005604, allocations: 25.7 kB / 0.6226 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.005641, allocations: 88.09 kB / 0.6227 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.04e-05/0.005651, allocations: 19.83 kB / 0.6228 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.005676, allocations: 17.72 kB / 0.6228 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.941e-05/0.005745, allocations: 310.8 kB / 0.6231 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.005761, allocations: 11.98 kB / 0.6231 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.005784, allocations: 17.72 kB / 0.6231 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.34e-05/0.005827, allocations: 37.66 kB / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005829, allocations: 0 / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.011e-05/0.00589, allocations: 54.11 kB / 0.6232 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.005901, allocations: 8 kB / 0.6232 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.005907, allocations: 3.938 kB / 0.6232 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.005918, allocations: 0 / 0.6232 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.367e-05/0.005952, allocations: 16.05 kB / 0.6232 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.005956, allocations: 0 / 0.6232 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.438e-05/0.005971, allocations: 4 kB / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.005978, allocations: 11.97 kB / 0.6232 GB, free: 8.961 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.006027, allocations: 106.8 kB / 0.6233 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.006041, allocations: 15.94 kB / 0.6233 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.006144, allocations: 61.3 kB / 0.6234 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.006146, allocations: 4 kB / 0.6234 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.00615, allocations: 0 / 0.6234 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.006153, allocations: 0 / 0.6234 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.115e-05/0.006235, allocations: 101.3 kB / 0.6235 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006236, allocations: 3.938 kB / 0.6235 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.018e-05/0.006256, allocations: 15.98 kB / 0.6235 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.006257, allocations: 3.938 kB / 0.6235 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-06/0.006263, allocations: 0 / 0.6235 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.006264, allocations: 3.938 kB / 0.6235 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006265, allocations: 0 / 0.6235 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.024e-05/0.006345, allocations: 143.5 kB / 0.6237 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.006352, allocations: 4 kB / 0.6237 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.006361, allocations: 0 / 0.6237 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.528e-05/0.006386, allocations: 3.938 kB / 0.6237 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.006401, allocations: 7.984 kB / 0.6237 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-06/0.006403, allocations: 0 / 0.6237 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.232e-05/0.006425, allocations: 83.28 kB / 0.6238 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006425, allocations: 0 / 0.6238 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001588/0.006584, allocations: 23.88 kB / 0.6238 GB, free: 8.32 MB / 0.5886 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001294/0.006713, allocations: 119.1 kB / 0.6239 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.494e-05/0.006788, allocations: 23.98 kB / 0.6239 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.00679, allocations: 0 / 0.6239 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.124e-05/0.006802, allocations: 11.94 kB / 0.6239 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.006958, allocations: 7.984 kB / 0.6239 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.007203, allocations: 146.6 kB / 0.6241 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.894e-05/0.007242, allocations: 55.36 kB / 0.6241 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.007263, allocations: 16.48 kB / 0.6241 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.007264, allocations: 0 / 0.6241 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of Templates: time 0.001547/0.008811, allocations: 0.732 MB / 0.6249 GB, free: 7.16 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.251370812766254] Failed to read output from testmodel.py, exit status != 0: 0.013862933032214642 0.022173065000000002 0.016759537 Calling exit ...