Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001161/0.001161, allocations: 105.7 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.001167/0.001167, 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.279/1.279, allocations: 225.6 MB / 249.3 MB, free: 3.145 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.962/0.962, allocations: 175.7 MB / 480.1 MB, free: 2.781 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.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 75.66 kB / 0.6678 GB, free: 10.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1515, allocations: 94.53 MB / 0.7601 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002085/0.1535, allocations: 1.25 MB / 0.7613 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009122/0.1545, allocations: 0.5903 MB / 0.7619 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.528e-05/0.1545, allocations: 0 / 0.7619 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.1545, allocations: 0 / 0.7619 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.1545, allocations: 3.984 kB / 0.7619 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.155, allocations: 139.4 kB / 0.762 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.528e-05/0.155, allocations: 11.94 kB / 0.762 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.1551, allocations: 4 kB / 0.762 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.913e-05/0.1551, allocations: 3.938 kB / 0.762 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.317e-05/0.1551, allocations: 7.984 kB / 0.762 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.1551, allocations: 0 / 0.762 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005155/0.1557, allocations: 343.3 kB / 0.7624 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.156e-06/0.1557, allocations: 0 / 0.7624 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.809e-05/0.1557, allocations: 11.94 kB / 0.7624 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.1559, allocations: 139.9 kB / 0.7625 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1559, allocations: 3.938 kB / 0.7625 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1559, allocations: 3.938 kB / 0.7625 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1559, allocations: 0 / 0.7625 GB, free: 14.3 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003675/0.1563, allocations: 356.3 kB / 0.7628 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.1563, allocations: 8.031 kB / 0.7629 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.1564, allocations: 30.75 kB / 0.7629 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.983e-05/0.1564, allocations: 4.938 kB / 0.7629 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.1565, allocations: 172.3 kB / 0.7631 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.1565, allocations: 384 / 0.7631 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.1565, allocations: 4.125 kB / 0.7631 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.933e-05/0.1566, allocations: 37.7 kB / 0.7631 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.1566, allocations: 0 / 0.7631 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-06/0.1566, allocations: 0 / 0.7631 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.1566, allocations: 0 / 0.7631 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.41e-05/0.1566, allocations: 7.938 kB / 0.7631 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.1568, allocations: 153.7 kB / 0.7632 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.5e-05/0.1568, allocations: 22.61 kB / 0.7633 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.1568, allocations: 12.86 kB / 0.7633 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.1569, allocations: 0 / 0.7633 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1569, allocations: 34.56 kB / 0.7633 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.1569, allocations: 0 / 0.7633 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001204/0.157, allocations: 41.62 kB / 0.7634 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.157, allocations: 59.53 kB / 0.7634 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.897e-05/0.1571, allocations: 93.86 kB / 0.7635 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1571, allocations: 25.7 kB / 0.7635 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.1572, allocations: 80.14 kB / 0.7636 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.1572, allocations: 11.94 kB / 0.7636 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.1572, allocations: 13.72 kB / 0.7636 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1573, allocations: 314.8 kB / 0.7639 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.1573, allocations: 128 / 0.7639 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.578e-06/0.1574, allocations: 8 kB / 0.7639 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.1574, allocations: 16.86 kB / 0.764 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1574, allocations: 0 / 0.764 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.139e-05/0.1574, allocations: 45.56 kB / 0.764 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.1575, allocations: 5.562 kB / 0.764 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.1575, allocations: 0 / 0.764 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1575, allocations: 4 kB / 0.764 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1576, allocations: 7.984 kB / 0.764 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003568/0.158, allocations: 0.59 MB / 0.7646 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.158, allocations: 0 / 0.7646 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.158, allocations: 3.938 kB / 0.7646 GB, free: 11.91 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.055e-05/0.1581, allocations: 109.8 kB / 0.7647 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.1581, allocations: 4.031 kB / 0.7647 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.521e-05/0.1582, allocations: 64.7 kB / 0.7648 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1582, allocations: 0 / 0.7648 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1582, allocations: 0 / 0.7648 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.1582, allocations: 0 / 0.7648 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.1583, allocations: 153.6 kB / 0.7649 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1583, allocations: 0 / 0.7649 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.27e-05/0.1583, allocations: 8 kB / 0.7649 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1583, allocations: 0 / 0.7649 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1584, allocations: 4 kB / 0.7649 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003231/0.1587, allocations: 0.5937 MB / 0.7655 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1587, allocations: 0 / 0.7655 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.036e-05/0.1587, allocations: 65.12 kB / 0.7656 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.1588, allocations: 89.02 kB / 0.7656 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.1588, allocations: 3.938 kB / 0.7656 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.314e-05/0.1588, allocations: 0 / 0.7656 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-06/0.1588, allocations: 4.125 kB / 0.7657 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.1588, allocations: 4 kB / 0.7657 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.1589, allocations: 75.28 kB / 0.7657 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1589, allocations: 0 / 0.7657 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001758/0.159, allocations: 8 kB / 0.7657 GB, free: 10.61 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003848/0.1594, allocations: 0.6202 MB / 0.7663 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001502/0.1596, allocations: 15.98 kB / 0.7664 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1596, allocations: 0 / 0.7664 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.1597, allocations: 19.92 kB / 0.7664 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.1598, allocations: 4 kB / 0.7664 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.1602, allocations: 143.7 kB / 0.7665 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.1604, allocations: 0.6767 MB / 0.7672 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.169e-05/0.1604, allocations: 0 / 0.7672 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.1604, allocations: 7.438 kB / 0.7672 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1604, allocations: 0 / 0.7672 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.184, allocations: 1.327 MB / 0.7685 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.62, allocations: 8.375 kB / 0.7685 GB, free: 7.82 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.978520110002137]