Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7418/0.7418, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 221.3 MB / 400.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009878/0.000988, allocations: 87.89 kB / 483.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.245e-05/4.249e-05, allocations: 8.109 kB / 0.56 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1797, allocations: 82.29 MB / 0.6404 GB, free: 7.824 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6311/0.8109, allocations: 112.9 MB / 0.7506 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.8111, allocations: 80.69 kB / 0.7507 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0116/0.8227, allocations: 4.324 MB / 0.7549 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8228, allocations: 0 / 0.7549 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.8228, allocations: 3.875 kB / 0.7549 GB, free: 27.57 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004459/0.8233, allocations: 372.1 kB / 0.7553 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.8233, allocations: 19.62 kB / 0.7553 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.8234, allocations: 0 / 0.7553 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.8235, allocations: 177.7 kB / 0.7555 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.8235, allocations: 3.844 kB / 0.7555 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.8235, allocations: 7.062 kB / 0.7555 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.8237, allocations: 66.47 kB / 0.7555 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.8237, allocations: 0 / 0.7555 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.8237, allocations: 3.938 kB / 0.7555 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.8237, allocations: 7.922 kB / 0.7556 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.96e-05/0.8238, allocations: 31.33 kB / 0.7556 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.8243, allocations: 329.4 kB / 0.7559 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.8245, allocations: 61.94 kB / 0.756 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.8245, allocations: 26.92 kB / 0.756 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.8245, allocations: 3.844 kB / 0.756 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.8246, allocations: 39.41 kB / 0.756 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.8246, allocations: 0 / 0.756 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0009697/0.8255, allocations: 0.5613 MB / 0.7566 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.8256, allocations: 63.19 kB / 0.7566 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.8257, allocations: 94.48 kB / 0.7567 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.8257, allocations: 29.2 kB / 0.7567 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.8258, allocations: 87.92 kB / 0.7568 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.8258, allocations: 40.47 kB / 0.7569 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.8258, allocations: 0 / 0.7569 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.8259, allocations: 321.3 kB / 0.7572 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.107e-05/0.826, allocations: 22.22 kB / 0.7572 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.658e-05/0.826, allocations: 27.97 kB / 0.7572 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.321e-05/0.8261, allocations: 25.81 kB / 0.7572 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.8261, allocations: 0 / 0.7572 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001287/0.8262, allocations: 93.67 kB / 0.7573 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.8262, allocations: 7.844 kB / 0.7573 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.8262, allocations: 3.953 kB / 0.7573 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.8263, allocations: 2.25 kB / 0.7574 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.8264, allocations: 31.27 kB / 0.7574 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.8264, allocations: 0 / 0.7574 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.437e-05/0.8265, allocations: 10.61 kB / 0.7574 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.8265, allocations: 3.844 kB / 0.7574 GB, free: 25.46 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.656e-05/0.8266, allocations: 112.4 kB / 0.7575 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.8266, allocations: 7.75 kB / 0.7575 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.8268, allocations: 108.6 kB / 0.7576 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.8268, allocations: 3.953 kB / 0.7576 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.8269, allocations: 3.844 kB / 0.7576 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.8269, allocations: 0 / 0.7576 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.8272, allocations: 363.3 kB / 0.758 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8272, allocations: 0 / 0.758 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.8274, allocations: 24.5 kB / 0.758 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.8274, allocations: 11.73 kB / 0.758 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.8274, allocations: 0 / 0.758 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.8274, allocations: 0 / 0.758 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8274, allocations: 0 / 0.758 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.8277, allocations: 232.6 kB / 0.7582 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.8277, allocations: 81.2 kB / 0.7583 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.8278, allocations: 3.953 kB / 0.7583 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.8279, allocations: 14.25 kB / 0.7583 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.8279, allocations: 11.02 kB / 0.7583 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.8279, allocations: 3.969 kB / 0.7583 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.767e-05/0.828, allocations: 82.16 kB / 0.7584 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.794e-06/0.828, allocations: 4.062 kB / 0.7584 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002611/0.8282, allocations: 48.66 kB / 0.7585 GB, free: 24.65 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002137/0.8285, allocations: 138.4 kB / 0.7586 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.8286, allocations: 68.62 kB / 0.7587 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8286, allocations: 0 / 0.7587 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/0.8287, allocations: 36.53 kB / 0.7587 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.8288, allocations: 7.203 kB / 0.7587 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.8293, allocations: 257.1 kB / 0.7589 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.8295, allocations: 0.6961 MB / 0.7596 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.604e-05/0.8296, allocations: 16.25 kB / 0.7596 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.8296, allocations: 15.28 kB / 0.7597 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.8296, allocations: 0 / 0.7597 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of Templates: time 0.003055/0.8327, allocations: 1.023 MB / 0.7607 GB, free: 23.12 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)