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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 110 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 191.1 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.202/1.202, allocations: 177.9 MB / 484.2 MB, free: 5.383 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002139/0.002139, allocations: 71.08 kB / 0.674 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7194/0.7215, allocations: 95.16 MB / 0.7669 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002854/0.7244, allocations: 1.294 MB / 0.7682 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.7255, allocations: 0.5881 MB / 0.7688 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.7255, allocations: 1.375 kB / 0.7688 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.7256, allocations: 4.5 kB / 0.7688 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.711e-05/0.7256, allocations: 5.344 kB / 0.7688 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005732/0.7262, allocations: 144.9 kB / 0.7689 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.34e-05/0.7263, allocations: 28.66 kB / 0.7689 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.7263, allocations: 1.906 kB / 0.7689 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.427e-05/0.7263, allocations: 4.781 kB / 0.7689 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.26e-05/0.7264, allocations: 19.25 kB / 0.769 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.7264, allocations: 0 / 0.769 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005431/0.727, allocations: 339.6 kB / 0.7693 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.727, allocations: 1.594 kB / 0.7693 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.727, allocations: 17.16 kB / 0.7693 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.7273, allocations: 143.4 kB / 0.7694 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7273, allocations: 0 / 0.7694 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.634e-06/0.7273, allocations: 3.938 kB / 0.7694 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.006e-06/0.7273, allocations: 1.125 kB / 0.7694 GB, free: 6.719 MB / 0.5762 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.0004497/0.7278, allocations: 285.5 kB / 0.7697 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.7278, allocations: 9.562 kB / 0.7697 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.7279, allocations: 6 kB / 0.7697 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.728, allocations: 104.9 kB / 0.7698 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.728, allocations: 1.5 kB / 0.7698 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.728, allocations: 5.625 kB / 0.7698 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.7281, allocations: 52.11 kB / 0.7699 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.7282, allocations: 1.172 kB / 0.7699 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.7282, allocations: 0 / 0.7699 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.7282, allocations: 1.219 kB / 0.7699 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.424e-05/0.7282, allocations: 15.09 kB / 0.7699 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.7285, allocations: 224.2 kB / 0.7701 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.7288, allocations: 45.73 kB / 0.7702 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.7288, allocations: 17.2 kB / 0.7702 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.7288, allocations: 1.312 kB / 0.7702 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.7288, allocations: 36.12 kB / 0.7702 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.7288, allocations: 0 / 0.7702 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001907/0.729, allocations: 60.2 kB / 0.7703 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.7291, allocations: 52.56 kB / 0.7703 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.7291, allocations: 103.9 kB / 0.7704 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.7291, allocations: 25.7 kB / 0.7704 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.7292, allocations: 81.39 kB / 0.7705 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.7292, allocations: 20.8 kB / 0.7705 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.7292, allocations: 17.97 kB / 0.7706 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.7293, allocations: 316.1 kB / 0.7709 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.7293, allocations: 6.031 kB / 0.7709 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/0.7293, allocations: 26.02 kB / 0.7709 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.41e-05/0.7294, allocations: 44.44 kB / 0.7709 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7294, allocations: 3.938 kB / 0.7709 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.191e-05/0.7295, allocations: 53.05 kB / 0.771 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.7295, allocations: 6.375 kB / 0.771 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.7295, allocations: 0 / 0.771 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.7295, allocations: 1.375 kB / 0.771 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.264e-05/0.7296, allocations: 14.06 kB / 0.771 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.7296, allocations: 4.031 kB / 0.771 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.7296, allocations: 5.562 kB / 0.771 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.7296, allocations: 1.531 kB / 0.771 GB, free: 5.133 MB / 0.5762 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 6.176e-05/0.7297, allocations: 111.3 kB / 0.7711 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.7297, allocations: 2.531 kB / 0.7711 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.7298, allocations: 59.09 kB / 0.7712 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.7298, allocations: 4.625 kB / 0.7712 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.7298, allocations: 0 / 0.7712 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.7299, allocations: 4.656 kB / 0.7712 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.73, allocations: 137.5 kB / 0.7713 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.73, allocations: 3.938 kB / 0.7713 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.73, allocations: 9.531 kB / 0.7713 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.73, allocations: 0.9688 kB / 0.7713 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.73, allocations: 0.7812 kB / 0.7713 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.73, allocations: 3.938 kB / 0.7713 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.73, allocations: 0.7188 kB / 0.7713 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.7302, allocations: 155.5 kB / 0.7715 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.385e-06/0.7302, allocations: 5.609 kB / 0.7715 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.7302, allocations: 4.641 kB / 0.7715 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.719e-05/0.7302, allocations: 0 / 0.7715 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.7302, allocations: 1.25 kB / 0.7715 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.7303, allocations: 1.281 kB / 0.7715 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.136e-05/0.7303, allocations: 77.59 kB / 0.7716 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.7303, allocations: 0.9688 kB / 0.7716 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002473/0.7305, allocations: 23.36 kB / 0.7716 GB, free: 4.551 MB / 0.5762 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.000189/0.7307, allocations: 123.1 kB / 0.7717 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.7308, allocations: 23.98 kB / 0.7717 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7308, allocations: 0.7812 kB / 0.7717 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.67e-05/0.7309, allocations: 20.08 kB / 0.7718 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.7311, allocations: 1.844 kB / 0.7718 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.7314, allocations: 118.2 kB / 0.7719 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.7316, allocations: 0.6848 MB / 0.7725 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.131e-05/0.7316, allocations: 7.109 kB / 0.7725 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.7316, allocations: 9.625 kB / 0.7726 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.7316, allocations: 0 / 0.7726 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of Templates: time 0.003718/0.7354, allocations: 0.5371 MB / 0.7731 GB, free: 3.508 MB / 0.5762 GB " [Timeout remaining time 659] 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: 6.797048415057361] Failed to read output from testmodel.py, exit status != 0: 0.7440816555172205 0.7587623609999999 0.028124561000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f71566497b0>