Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005489/0.005489, allocations: 102 kB / 15.73 MB, free: 6.445 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.001291/0.001291, allocations: 196.5 kB / 16.67 MB, free: 6.352 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9753/0.9753, allocations: 135.6 MB / 426.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.91 kB / 0.5857 GB, free: 3.227 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3363, allocations: 81.02 MB / 0.6649 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001912/0.3382, allocations: 1.273 MB / 0.6661 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007915/0.3391, allocations: 0.6152 MB / 0.6667 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.3391, allocations: 4 kB / 0.6667 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.3391, allocations: 0 / 0.6667 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.513e-05/0.3392, allocations: 9.422 kB / 0.6667 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.3396, allocations: 143.9 kB / 0.6669 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.678e-05/0.3397, allocations: 17.5 kB / 0.6669 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.3397, allocations: 2.188 kB / 0.6669 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.555e-05/0.3398, allocations: 19.47 kB / 0.6669 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.791e-05/0.3398, allocations: 3.656 kB / 0.6669 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.3398, allocations: 5.156 kB / 0.6669 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000448/0.3403, allocations: 341.2 kB / 0.6672 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.3403, allocations: 9.391 kB / 0.6672 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.3403, allocations: 16.73 kB / 0.6673 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.3406, allocations: 141.9 kB / 0.6674 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3406, allocations: 0 / 0.6674 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3406, allocations: 0 / 0.6674 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.3406, allocations: 0 / 0.6674 GB, free: 4.918 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003161/0.3409, allocations: 366.9 kB / 0.6677 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.341, allocations: 10.72 kB / 0.6678 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.947e-05/0.341, allocations: 34.75 kB / 0.6678 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.341, allocations: 2 kB / 0.6678 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.146e-05/0.3411, allocations: 165.7 kB / 0.6679 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.3411, allocations: 5.453 kB / 0.668 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.3411, allocations: 10.31 kB / 0.668 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.465e-05/0.3412, allocations: 39.62 kB / 0.668 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3412, allocations: 1.25 kB / 0.668 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.3412, allocations: 0 / 0.668 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3412, allocations: 1.312 kB / 0.668 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.508e-05/0.3413, allocations: 9.328 kB / 0.668 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/0.3414, allocations: 171 kB / 0.6682 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.3416, allocations: 43.53 kB / 0.6682 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.3416, allocations: 20.67 kB / 0.6682 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.3416, allocations: 1.344 kB / 0.6682 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.3416, allocations: 30.56 kB / 0.6683 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3416, allocations: 5.25 kB / 0.6683 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.000486/0.3421, allocations: 307.2 kB / 0.6686 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.723e-05/0.3422, allocations: 52.56 kB / 0.6686 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.852e-05/0.3422, allocations: 92.83 kB / 0.6687 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.3422, allocations: 34.67 kB / 0.6687 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.455e-05/0.3422, allocations: 81.33 kB / 0.6688 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.3423, allocations: 21.44 kB / 0.6688 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.3423, allocations: 23.5 kB / 0.6689 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.941e-05/0.3423, allocations: 323.9 kB / 0.6692 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.419e-05/0.3424, allocations: 10.03 kB / 0.6692 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.971e-05/0.3424, allocations: 6.812 kB / 0.6692 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.188e-05/0.3425, allocations: 36.53 kB / 0.6692 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3425, allocations: 3.938 kB / 0.6692 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.253e-05/0.3425, allocations: 61.09 kB / 0.6693 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.3426, allocations: 5.719 kB / 0.6693 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3426, allocations: 3.984 kB / 0.6693 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3426, allocations: 5.281 kB / 0.6693 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.056e-05/0.3426, allocations: 24.94 kB / 0.6693 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3427, allocations: 1.719 kB / 0.6693 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.3427, allocations: 0 / 0.6693 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3427, allocations: 1.609 kB / 0.6693 GB, free: 2.883 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 (7): * Single equations (assignments): 7 * 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 4.185e-05/0.3427, allocations: 116 kB / 0.6694 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.3427, allocations: 6.234 kB / 0.6694 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.3429, allocations: 74.92 kB / 0.6695 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3429, allocations: 0 / 0.6695 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3429, allocations: 5.438 kB / 0.6695 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3429, allocations: 3.984 kB / 0.6695 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.3431, allocations: 311.7 kB / 0.6698 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3431, allocations: 1.219 kB / 0.6698 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.068e-05/0.3432, allocations: 17.39 kB / 0.6698 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3432, allocations: 1.375 kB / 0.6698 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.3432, allocations: 1.312 kB / 0.6698 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3432, allocations: 0 / 0.6698 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3432, allocations: 1.75 kB / 0.6698 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.3434, allocations: 181.9 kB / 0.67 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.3434, allocations: 87.62 kB / 0.6701 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.3434, allocations: 1.438 kB / 0.6701 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.3435, allocations: 0 / 0.6701 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.3435, allocations: 6.641 kB / 0.6701 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3435, allocations: 6.719 kB / 0.6701 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.936e-05/0.3435, allocations: 85.84 kB / 0.6702 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.11e-07/0.3436, allocations: 0 / 0.6702 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002393/0.3438, allocations: 22.44 kB / 0.6702 GB, free: 1.98 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * 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.0003289/0.3441, allocations: 0.7315 MB / 0.6709 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.3442, allocations: 44.97 kB / 0.671 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3443, allocations: 0 / 0.671 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.693e-05/0.3443, allocations: 15.16 kB / 0.671 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.3445, allocations: 15.92 kB / 0.671 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000867/0.3454, allocations: 1.322 MB / 0.6723 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.3458, allocations: 0.6791 MB / 0.673 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.3458, allocations: 8.141 kB / 0.673 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.3459, allocations: 14.84 kB / 0.673 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.3459, allocations: 0 / 0.673 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1758/0.5217, allocations: 1.616 MB / 0.6746 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.346/8.867, allocations: 13.72 kB / 0.6746 GB, free: 14.39 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)