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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 110.8 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002256/0.002256, allocations: 185.6 kB / 17.34 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8693/0.8693, allocations: 135.2 MB / 426.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.61 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1749, allocations: 80.93 MB / 0.6654 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002387/0.1773, allocations: 1.281 MB / 0.6666 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1784, allocations: 0.5959 MB / 0.6672 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.1784, allocations: 0 / 0.6672 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.1784, allocations: 4 kB / 0.6672 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.469e-05/0.1785, allocations: 11.86 kB / 0.6672 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.179, allocations: 142.9 kB / 0.6673 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.37e-05/0.1791, allocations: 15.92 kB / 0.6674 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.1791, allocations: 8 kB / 0.6674 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.149e-05/0.1792, allocations: 7.938 kB / 0.6674 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.792e-05/0.1792, allocations: 7.984 kB / 0.6674 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.1792, allocations: 3.984 kB / 0.6674 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005222/0.1797, allocations: 347.3 kB / 0.6677 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.1798, allocations: 3.938 kB / 0.6677 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.1798, allocations: 8 kB / 0.6677 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.1801, allocations: 151.5 kB / 0.6679 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1801, allocations: 0 / 0.6679 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1801, allocations: 0 / 0.6679 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1801, allocations: 4 kB / 0.6679 GB, free: 3.172 MB / 0.4981 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.0005073/0.1806, allocations: 355.1 kB / 0.6682 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1806, allocations: 13.11 kB / 0.6682 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.1806, allocations: 8.891 kB / 0.6682 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.1808, allocations: 164.4 kB / 0.6684 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.1808, allocations: 4.375 kB / 0.6684 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.1808, allocations: 8.25 kB / 0.6684 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1809, allocations: 49.62 kB / 0.6684 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1809, allocations: 0 / 0.6684 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1809, allocations: 4 kB / 0.6685 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.181, allocations: 0 / 0.6685 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.684e-05/0.181, allocations: 12 kB / 0.6685 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.1814, allocations: 260.9 kB / 0.6687 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.1815, allocations: 46.55 kB / 0.6688 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.1816, allocations: 16.86 kB / 0.6688 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.1816, allocations: 0 / 0.6688 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.1816, allocations: 30.56 kB / 0.6688 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1816, allocations: 4 kB / 0.6688 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001774/0.1818, allocations: 57.69 kB / 0.6689 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.1819, allocations: 51.41 kB / 0.6689 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.389e-05/0.1819, allocations: 105.8 kB / 0.669 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.182, allocations: 29.64 kB / 0.669 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.182, allocations: 80.14 kB / 0.6691 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.182, allocations: 19.84 kB / 0.6691 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.1821, allocations: 17.7 kB / 0.6692 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1822, allocations: 322.8 kB / 0.6695 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.017e-05/0.1822, allocations: 4 kB / 0.6695 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.349e-05/0.1823, allocations: 25.7 kB / 0.6695 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.166e-05/0.1823, allocations: 29.66 kB / 0.6695 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1823, allocations: 4 kB / 0.6695 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.084e-05/0.1824, allocations: 53.62 kB / 0.6696 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1825, allocations: 4 kB / 0.6696 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1825, allocations: 8.031 kB / 0.6696 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1825, allocations: 0 / 0.6696 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.64e-05/0.1825, allocations: 8 kB / 0.6696 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.1825, allocations: 0 / 0.6696 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.1825, allocations: 3.953 kB / 0.6696 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1826, allocations: 7.984 kB / 0.6696 GB, free: 1.168 MB / 0.4981 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 8.985e-05/0.1826, allocations: 117.7 kB / 0.6697 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.1827, allocations: 0 / 0.6697 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.1828, allocations: 61.19 kB / 0.6698 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1828, allocations: 0 / 0.6698 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1828, allocations: 3.938 kB / 0.6698 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1828, allocations: 4 kB / 0.6698 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.183, allocations: 161.6 kB / 0.6699 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.183, allocations: 0 / 0.6699 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.183, allocations: 7.984 kB / 0.6699 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.183, allocations: 4.469 kB / 0.6699 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.183, allocations: 0 / 0.6699 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.183, allocations: 4.125 kB / 0.6699 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.183, allocations: 4 kB / 0.67 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.1832, allocations: 159.4 kB / 0.6701 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.1832, allocations: 81.06 kB / 0.6702 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.1832, allocations: 4 kB / 0.6702 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.905e-05/0.1833, allocations: 4 kB / 0.6702 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.1833, allocations: 3.984 kB / 0.6702 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1833, allocations: 0 / 0.6702 GB, free: 464 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.016e-05/0.1834, allocations: 79.28 kB / 0.6703 GB, free: 384 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1834, allocations: 4 kB / 0.6703 GB, free: 380 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002411/0.1836, allocations: 19.88 kB / 0.6703 GB, free: 360 kB / 0.4981 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.0001848/0.1838, allocations: 119.2 kB / 0.6704 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.1839, allocations: 31.86 kB / 0.6704 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1839, allocations: 0 / 0.6704 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.69e-05/0.1839, allocations: 4 kB / 0.6704 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.1841, allocations: 11.98 kB / 0.6705 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.1845, allocations: 152.3 kB / 0.6706 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.1848, allocations: 0.6807 MB / 0.6713 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.1849, allocations: 7.438 kB / 0.6713 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1849, allocations: 0 / 0.6713 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of Templates: time 0.002489/0.1873, allocations: 0.7067 MB / 0.672 GB, free: 14.57 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (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)