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: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001596/0.001596, 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.7221/0.7221, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.356/1.356, allocations: 221.3 MB / 400.4 MB, free: 5.812 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.0008017/0.0008018, allocations: 94.27 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.112e-05/3.125e-05, allocations: 3.156 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1399, allocations: 82.3 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4886/0.6285, allocations: 112.9 MB / 0.7507 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000186/0.6288, allocations: 84.03 kB / 0.7508 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01157/0.6404, allocations: 4.322 MB / 0.755 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6404, allocations: 0 / 0.755 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.6404, allocations: 0 / 0.755 GB, free: 27.44 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.0004764/0.6409, allocations: 379.1 kB / 0.7554 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.641, allocations: 15.66 kB / 0.7554 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.083e-05/0.641, allocations: 36.05 kB / 0.7554 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.6411, allocations: 3.719 kB / 0.7554 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.6412, allocations: 176.2 kB / 0.7556 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.6412, allocations: 3.75 kB / 0.7556 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.6413, allocations: 3.906 kB / 0.7556 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.6414, allocations: 68.5 kB / 0.7557 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.6415, allocations: 3.938 kB / 0.7557 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.6415, allocations: 7.75 kB / 0.7557 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.6415, allocations: 3.906 kB / 0.7557 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.231e-05/0.6416, allocations: 29.61 kB / 0.7557 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006051/0.6422, allocations: 335 kB / 0.756 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.6423, allocations: 61.98 kB / 0.7561 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.6424, allocations: 23.77 kB / 0.7561 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.6424, allocations: 3.938 kB / 0.7561 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.6424, allocations: 30.56 kB / 0.7562 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.6424, allocations: 0 / 0.7562 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.001037/0.6435, allocations: 0.5811 MB / 0.7567 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.6435, allocations: 51.41 kB / 0.7568 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.07e-05/0.6436, allocations: 92.78 kB / 0.7569 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.6436, allocations: 29.52 kB / 0.7569 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.6437, allocations: 90.81 kB / 0.757 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.6437, allocations: 34.33 kB / 0.757 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-06/0.6437, allocations: 7.469 kB / 0.757 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.6438, allocations: 318 kB / 0.7573 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.142e-05/0.6439, allocations: 22.78 kB / 0.7573 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.509e-05/0.6439, allocations: 23.06 kB / 0.7574 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.957e-05/0.644, allocations: 23.83 kB / 0.7574 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.644, allocations: 0 / 0.7574 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001436/0.6442, allocations: 100.6 kB / 0.7575 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.6442, allocations: 7.859 kB / 0.7575 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.6442, allocations: 0 / 0.7575 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.6442, allocations: 0 / 0.7575 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.6444, allocations: 36.73 kB / 0.7575 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.6444, allocations: 3.969 kB / 0.7575 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.6445, allocations: 3.844 kB / 0.7575 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.6445, allocations: 3.906 kB / 0.7575 GB, free: 25.29 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.407e-05/0.6445, allocations: 111.6 kB / 0.7576 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.6446, allocations: 7.875 kB / 0.7576 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.6448, allocations: 117.3 kB / 0.7578 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.6448, allocations: 0 / 0.7578 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6448, allocations: 3.141 kB / 0.7578 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.6448, allocations: 0 / 0.7578 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.6452, allocations: 364.1 kB / 0.7581 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6452, allocations: 3.938 kB / 0.7581 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.6453, allocations: 29.84 kB / 0.7581 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.6454, allocations: 0 / 0.7581 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.6454, allocations: 7.469 kB / 0.7581 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6454, allocations: 4 kB / 0.7582 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.6454, allocations: 0 / 0.7582 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.6456, allocations: 221.1 kB / 0.7584 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.6457, allocations: 84.89 kB / 0.7584 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.6457, allocations: 3.953 kB / 0.7584 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.6458, allocations: 9.953 kB / 0.7585 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.6459, allocations: 13.36 kB / 0.7585 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.6459, allocations: 5.734 kB / 0.7585 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.441e-05/0.6459, allocations: 87.27 kB / 0.7586 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6459, allocations: 0 / 0.7586 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002455/0.6462, allocations: 45.36 kB / 0.7586 GB, free: 24.48 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.0005514/0.6467, allocations: 0.7874 MB / 0.7594 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.6469, allocations: 70.75 kB / 0.7594 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6469, allocations: 0 / 0.7594 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.282e-05/0.6469, allocations: 39.86 kB / 0.7595 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.6471, allocations: 10.67 kB / 0.7595 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005647/0.6477, allocations: 298.6 kB / 0.7598 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.6479, allocations: 0.6992 MB / 0.7605 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.946e-05/0.648, allocations: 19.19 kB / 0.7605 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.648, allocations: 25.53 kB / 0.7605 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of SimCode: time 4.91e-07/0.648, allocations: 0 / 0.7605 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6985/1.347, allocations: 1.989 MB / 0.7624 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/1.347, allocations: 190.9 kB / 0.7626 GB, free: 21.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/3.113, allocations: 0 / 0.7626 GB, free: 21.78 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)