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/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.001376/0.001376, allocations: 109 kB / 17.54 MB, free: 4.781 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.001361/0.001361, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.172 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.9889/0.9889, allocations: 175.7 MB / 480.1 MB, free: 2.777 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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 68.08 kB / 0.6678 GB, free: 10.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1518, allocations: 94.53 MB / 0.7601 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002547/0.1543, allocations: 1.487 MB / 0.7615 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1554, allocations: 0.6344 MB / 0.7621 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.1554, allocations: 0 / 0.7621 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.1554, allocations: 3.938 kB / 0.7621 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.252e-05/0.1555, allocations: 7.922 kB / 0.7622 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.156, allocations: 163.4 kB / 0.7623 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.395e-05/0.1561, allocations: 51.78 kB / 0.7624 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.1561, allocations: 7.938 kB / 0.7624 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.1562, allocations: 27.91 kB / 0.7624 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.232e-05/0.1562, allocations: 19.92 kB / 0.7624 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.1562, allocations: 4 kB / 0.7624 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005149/0.1567, allocations: 351.3 kB / 0.7628 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.1568, allocations: 11.92 kB / 0.7628 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.1568, allocations: 19.88 kB / 0.7628 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.1571, allocations: 175.5 kB / 0.7629 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1571, allocations: 0 / 0.7629 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1571, allocations: 4 kB / 0.763 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.1571, allocations: 0 / 0.763 GB, free: 13.82 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005874/0.1577, allocations: 408.4 kB / 0.7633 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1577, allocations: 12.03 kB / 0.7634 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.1577, allocations: 30.75 kB / 0.7634 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.1578, allocations: 8.891 kB / 0.7634 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1579, allocations: 176.3 kB / 0.7636 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.1579, allocations: 384 / 0.7636 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.1579, allocations: 20.12 kB / 0.7636 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.1582, allocations: 84.95 kB / 0.7637 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1582, allocations: 0 / 0.7637 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1582, allocations: 0 / 0.7637 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1582, allocations: 4 kB / 0.7637 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.1584, allocations: 47.95 kB / 0.7637 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.1589, allocations: 332.6 kB / 0.764 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.1592, allocations: 74.53 kB / 0.7641 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.1593, allocations: 24.84 kB / 0.7641 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.1593, allocations: 0 / 0.7641 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.1594, allocations: 42.56 kB / 0.7642 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.1594, allocations: 0 / 0.7642 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001574/0.161, allocations: 0.6463 MB / 0.7648 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.161, allocations: 59.34 kB / 0.7648 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.1611, allocations: 101.8 kB / 0.7649 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1611, allocations: 25.7 kB / 0.765 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.1611, allocations: 92.09 kB / 0.7651 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.1612, allocations: 43.58 kB / 0.7651 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.1612, allocations: 29.7 kB / 0.7651 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1614, allocations: 314.8 kB / 0.7654 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1615, allocations: 35.97 kB / 0.7655 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1616, allocations: 36.11 kB / 0.7655 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.1618, allocations: 64.83 kB / 0.7656 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1618, allocations: 0 / 0.7656 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003211/0.1622, allocations: 117.6 kB / 0.7657 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1622, allocations: 13.55 kB / 0.7657 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1622, allocations: 4 kB / 0.7657 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1622, allocations: 7.875 kB / 0.7657 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.1624, allocations: 31.98 kB / 0.7657 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1624, allocations: 0 / 0.7657 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.16e-05/0.1624, allocations: 4 kB / 0.7657 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1624, allocations: 0 / 0.7657 GB, free: 10.66 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 (13): * Single equations (assignments): 13 * 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.863e-05/0.1625, allocations: 117.8 kB / 0.7658 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.1625, allocations: 11.95 kB / 0.7659 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003598/0.1629, allocations: 125.7 kB / 0.766 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1629, allocations: 4 kB / 0.766 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1629, allocations: 3.984 kB / 0.766 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1629, allocations: 3.984 kB / 0.766 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005623/0.1635, allocations: 390.6 kB / 0.7664 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1635, allocations: 0 / 0.7664 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.1636, allocations: 27.98 kB / 0.7664 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1636, allocations: 0 / 0.7664 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1636, allocations: 3.984 kB / 0.7664 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1636, allocations: 0 / 0.7664 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1636, allocations: 4.094 kB / 0.7664 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.1641, allocations: 262.4 kB / 0.7666 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.1642, allocations: 89.06 kB / 0.7667 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.1642, allocations: 0 / 0.7667 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.1643, allocations: 12.02 kB / 0.7667 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.1643, allocations: 4 kB / 0.7667 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.495e-06/0.1643, allocations: 4 kB / 0.7667 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.1644, allocations: 87.27 kB / 0.7668 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1644, allocations: 0 / 0.7668 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002603/0.1646, allocations: 39.88 kB / 0.7669 GB, free: 9.379 MB / 0.5762 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 () * Number of clocked 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 (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.0008495/0.1655, allocations: 0.8176 MB / 0.7677 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003044/0.1658, allocations: 75.95 kB / 0.7677 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1658, allocations: 0 / 0.7677 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.1659, allocations: 51.97 kB / 0.7678 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.1662, allocations: 8 kB / 0.7678 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.1682, allocations: 1.603 MB / 0.7694 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.1685, allocations: 0.6924 MB / 0.77 GB, free: 6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.662e-05/0.1686, allocations: 8.656 kB / 0.77 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.1686, allocations: 31.42 kB / 0.7701 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1686, allocations: 0 / 0.7701 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.1935, allocations: 2.297 MB / 0.7723 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.145/7.338, allocations: 7.734 kB / 0.7723 GB, free: 3.785 MB / 0.5762 GB " [Timeout remaining time 653] (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/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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.734333486994728]