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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 225.6 MB / 249.3 MB, free: 3.273 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9648/0.9648, allocations: 175.7 MB / 480.1 MB, free: 2.754 MB / 366.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 72.8 kB / 0.6678 GB, free: 10.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1568, allocations: 94.52 MB / 0.7601 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00225/0.1591, allocations: 1.288 MB / 0.7613 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1601, allocations: 0.621 MB / 0.7619 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.052e-05/0.1601, allocations: 0 / 0.7619 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.1601, allocations: 3.938 kB / 0.7619 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.717e-05/0.1602, allocations: 0 / 0.7619 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/0.1606, allocations: 150.6 kB / 0.7621 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.356e-05/0.1607, allocations: 23.86 kB / 0.7621 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.1607, allocations: 8 kB / 0.7621 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.353e-05/0.1608, allocations: 15.92 kB / 0.7621 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.501e-05/0.1608, allocations: 7.938 kB / 0.7621 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.1608, allocations: 0 / 0.7621 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005306/0.1614, allocations: 343.4 kB / 0.7625 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.989e-06/0.1614, allocations: 0 / 0.7625 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.1614, allocations: 11.94 kB / 0.7625 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.1617, allocations: 151.8 kB / 0.7626 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1617, allocations: 0 / 0.7626 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1617, allocations: 0 / 0.7626 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.1617, allocations: 4 kB / 0.7626 GB, free: 14.18 MB / 0.5762 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.0004169/0.1621, allocations: 363 kB / 0.763 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1621, allocations: 12.02 kB / 0.763 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.094e-05/0.1622, allocations: 38.69 kB / 0.763 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.1622, allocations: 0.9375 kB / 0.763 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1623, allocations: 160.4 kB / 0.7632 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1623, allocations: 8.375 kB / 0.7632 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1624, allocations: 8.078 kB / 0.7632 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.971e-05/0.1625, allocations: 41.69 kB / 0.7632 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1625, allocations: 4 kB / 0.7632 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.1625, allocations: 0 / 0.7632 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1625, allocations: 0 / 0.7632 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.814e-05/0.1625, allocations: 11.98 kB / 0.7632 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.1627, allocations: 157.7 kB / 0.7634 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.1629, allocations: 42.5 kB / 0.7634 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.877e-05/0.1629, allocations: 28.72 kB / 0.7635 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.1629, allocations: 4 kB / 0.7635 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1629, allocations: 30.56 kB / 0.7635 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.163, allocations: 0 / 0.7635 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0006205/0.1636, allocations: 306.4 kB / 0.7638 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.1636, allocations: 51.41 kB / 0.7638 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.448e-05/0.1637, allocations: 93.86 kB / 0.7639 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1637, allocations: 33.64 kB / 0.7639 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.1637, allocations: 84.14 kB / 0.764 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.1638, allocations: 23.78 kB / 0.764 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.1638, allocations: 17.72 kB / 0.7641 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1639, allocations: 318.8 kB / 0.7644 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.489e-05/0.164, allocations: 15.94 kB / 0.7644 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.164, allocations: 11.98 kB / 0.7644 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.222e-05/0.1641, allocations: 40.83 kB / 0.7644 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.1641, allocations: 3.938 kB / 0.7644 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.593e-05/0.1642, allocations: 61.66 kB / 0.7645 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1642, allocations: 8 kB / 0.7645 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1642, allocations: 4.062 kB / 0.7645 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1642, allocations: 3.984 kB / 0.7645 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.294e-05/0.1642, allocations: 15.94 kB / 0.7645 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1643, allocations: 4 kB / 0.7645 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.1643, allocations: 0 / 0.7645 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-06/0.1643, allocations: 0 / 0.7645 GB, free: 11.93 MB / 0.5762 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 8.718e-05/0.1644, allocations: 117.8 kB / 0.7646 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.1644, allocations: 4 kB / 0.7646 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.1645, allocations: 69.64 kB / 0.7647 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1645, allocations: 7.938 kB / 0.7647 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1645, allocations: 0 / 0.7647 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1645, allocations: 0 / 0.7647 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.1649, allocations: 307.4 kB / 0.765 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1649, allocations: 0 / 0.765 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.586e-05/0.1649, allocations: 19.92 kB / 0.765 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1649, allocations: 32 / 0.765 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1649, allocations: 4 kB / 0.765 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1649, allocations: 0 / 0.765 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1649, allocations: 4 kB / 0.765 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.1651, allocations: 180.3 kB / 0.7652 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.1652, allocations: 85.14 kB / 0.7653 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.1652, allocations: 0 / 0.7653 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.1653, allocations: 8 kB / 0.7653 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.1653, allocations: 8.172 kB / 0.7653 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.1653, allocations: 11.88 kB / 0.7653 GB, free: 11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.975e-05/0.1653, allocations: 83.8 kB / 0.7654 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1653, allocations: 0 / 0.7654 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002336/0.1656, allocations: 19.94 kB / 0.7654 GB, free: 10.9 MB / 0.5762 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.0005524/0.1661, allocations: 0.7366 MB / 0.7661 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.918e-05/0.1662, allocations: 31.92 kB / 0.7662 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1662, allocations: 0 / 0.7662 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.995e-05/0.1662, allocations: 16 kB / 0.7662 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.1665, allocations: 13.8 kB / 0.7662 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.1677, allocations: 1.319 MB / 0.7675 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.168, allocations: 0.6768 MB / 0.7681 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.168, allocations: 20.34 kB / 0.7682 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.168, allocations: 15.44 kB / 0.7682 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.168, allocations: 0 / 0.7682 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.1929, allocations: 1.587 MB / 0.7697 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.068/7.261, allocations: 6.094 kB / 0.7697 GB, free: 6.461 MB / 0.5762 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.585753711988218]