Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 110 kB / 16.41 MB, free: 6.461 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.001019/0.001019, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7892/0.7892, allocations: 135.1 MB / 426.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 62.94 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1268, allocations: 80.92 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002203/0.1291, allocations: 1.246 MB / 0.6665 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009011/0.13, allocations: 0.5919 MB / 0.6671 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.13, allocations: 0 / 0.6671 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.13, allocations: 3.938 kB / 0.6671 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.125e-05/0.1301, allocations: 0 / 0.6671 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006279/0.1307, allocations: 151.4 kB / 0.6672 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.791e-05/0.1308, allocations: 11.94 kB / 0.6673 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.1309, allocations: 3.984 kB / 0.6673 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.903e-05/0.1309, allocations: 4 kB / 0.6673 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.614e-05/0.1309, allocations: 4 kB / 0.6673 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1309, allocations: 0 / 0.6673 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005172/0.1315, allocations: 343.3 kB / 0.6676 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.1315, allocations: 3.938 kB / 0.6676 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.1315, allocations: 4 kB / 0.6676 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.1318, allocations: 139.6 kB / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1318, allocations: 0 / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.224e-06/0.1318, allocations: 4 kB / 0.6677 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1318, allocations: 3.938 kB / 0.6677 GB, free: 3.297 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003425/0.1322, allocations: 351.1 kB / 0.6681 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1322, allocations: 13.09 kB / 0.6681 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.1322, allocations: 0.9375 kB / 0.6681 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1323, allocations: 172.3 kB / 0.6683 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1324, allocations: 384 / 0.6683 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.1324, allocations: 384 / 0.6683 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.651e-05/0.1325, allocations: 41.64 kB / 0.6683 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1325, allocations: 0 / 0.6683 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.1325, allocations: 0 / 0.6683 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1325, allocations: 0 / 0.6683 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.918e-05/0.1325, allocations: 7.984 kB / 0.6683 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.1327, allocations: 149.7 kB / 0.6684 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.699e-05/0.1327, allocations: 22.52 kB / 0.6685 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.1328, allocations: 8.844 kB / 0.6685 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1328, allocations: 12 kB / 0.6685 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.1328, allocations: 38.5 kB / 0.6685 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1328, allocations: 0 / 0.6685 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001274/0.133, allocations: 37.64 kB / 0.6686 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.133, allocations: 51.41 kB / 0.6686 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.187e-05/0.1331, allocations: 101.8 kB / 0.6687 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.1331, allocations: 25.95 kB / 0.6687 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.875e-05/0.1331, allocations: 84.14 kB / 0.6688 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.1331, allocations: 11.89 kB / 0.6688 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.1332, allocations: 9.719 kB / 0.6688 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.1333, allocations: 314.8 kB / 0.6691 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.1333, allocations: 4 kB / 0.6691 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.868e-06/0.1333, allocations: 3.984 kB / 0.6691 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.1333, allocations: 16.86 kB / 0.6692 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1334, allocations: 4.062 kB / 0.6692 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.357e-05/0.1334, allocations: 41.58 kB / 0.6692 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1334, allocations: 4 kB / 0.6692 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1335, allocations: 0 / 0.6692 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1335, allocations: 4 kB / 0.6692 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.1336, allocations: 7.984 kB / 0.6692 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003292/0.134, allocations: 0.5822 MB / 0.6698 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.134, allocations: 8.125 kB / 0.6698 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.134, allocations: 0 / 0.6698 GB, free: 0.9531 MB / 0.4981 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 6.669e-05/0.1341, allocations: 113.8 kB / 0.6699 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-06/0.1341, allocations: 7.953 kB / 0.6699 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.1342, allocations: 48.75 kB / 0.67 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1342, allocations: 0 / 0.67 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1342, allocations: 0 / 0.67 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.1342, allocations: 81.14 kB / 0.67 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.1343, allocations: 7.922 kB / 0.67 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.49e-05/0.1343, allocations: 0 / 0.67 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.1343, allocations: 4 kB / 0.67 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001693/0.1345, allocations: 125.8 kB / 0.6702 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001426/0.1346, allocations: 222.8 kB / 0.6704 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.267e-05/0.1347, allocations: 8.031 kB / 0.6704 GB, free: 288 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.9e-05/0.1347, allocations: 83.22 kB / 0.6705 GB, free: 204 kB / 0.4981 GB Notification: Performance of Backend: time 2.6e-07/0.1347, allocations: 0 / 0.6705 GB, free: 204 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005796/0.1353, allocations: 159.8 kB / 0.6706 GB, free: 36 kB / 0.4981 GB Notification: Performance of SimCode: time 0.0004405/0.1357, allocations: 0.5562 MB / 0.6712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of Templates: time 0.003267/0.139, allocations: 1.107 MB / 0.6722 GB, free: 14.33 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)