Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001362/0.001362, 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.001419/0.001419, allocations: 186.7 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.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.168 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.9778/0.9778, allocations: 175.7 MB / 480.1 MB, free: 2.824 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_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 76.36 kB / 0.6678 GB, free: 11.07 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1573, allocations: 94.52 MB / 0.7601 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002253/0.1596, allocations: 1.251 MB / 0.7613 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009816/0.1606, allocations: 0.5864 MB / 0.7619 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.1606, allocations: 0 / 0.7619 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.1606, allocations: 7.922 kB / 0.7619 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.1607, allocations: 4 kB / 0.7619 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.1612, allocations: 131.4 kB / 0.762 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.292e-05/0.1612, allocations: 19.92 kB / 0.762 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.1613, allocations: 4 kB / 0.762 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.9e-05/0.1613, allocations: 7.938 kB / 0.762 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.893e-05/0.1613, allocations: 3.938 kB / 0.762 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.308e-06/0.1613, allocations: 0 / 0.762 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005482/0.1619, allocations: 347.3 kB / 0.7624 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.1619, allocations: 3.984 kB / 0.7624 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.1619, allocations: 7.938 kB / 0.7624 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.1622, allocations: 131.9 kB / 0.7625 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1622, allocations: 0 / 0.7625 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1622, allocations: 0 / 0.7625 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1622, allocations: 3.938 kB / 0.7625 GB, free: 14.45 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.0004151/0.1626, allocations: 359.1 kB / 0.7628 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1626, allocations: 8.031 kB / 0.7629 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.1626, allocations: 34.75 kB / 0.7629 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.974e-05/0.1627, allocations: 0.9375 kB / 0.7629 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.1628, allocations: 160.4 kB / 0.763 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1628, allocations: 4.312 kB / 0.763 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.1628, allocations: 8.109 kB / 0.7631 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.457e-05/0.1629, allocations: 41.7 kB / 0.7631 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1629, allocations: 0 / 0.7631 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.1629, allocations: 0 / 0.7631 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.1629, allocations: 4 kB / 0.7631 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.335e-05/0.1629, allocations: 3.938 kB / 0.7631 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.1631, allocations: 153.7 kB / 0.7632 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.333e-05/0.1632, allocations: 18.61 kB / 0.7633 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.213e-05/0.1632, allocations: 16.86 kB / 0.7633 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1632, allocations: 4 kB / 0.7633 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1632, allocations: 30.56 kB / 0.7633 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1632, allocations: 0 / 0.7633 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001364/0.1634, allocations: 45.62 kB / 0.7634 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.1634, allocations: 51.41 kB / 0.7634 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/0.1635, allocations: 93.86 kB / 0.7635 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1635, allocations: 29.7 kB / 0.7635 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.1635, allocations: 84.39 kB / 0.7636 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.1636, allocations: 3.953 kB / 0.7636 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.1636, allocations: 21.7 kB / 0.7636 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1637, allocations: 310.8 kB / 0.7639 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.1637, allocations: 0 / 0.7639 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.1637, allocations: 4 kB / 0.7639 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.1638, allocations: 12.86 kB / 0.7639 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1638, allocations: 4.062 kB / 0.7639 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.395e-05/0.1638, allocations: 45.56 kB / 0.764 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1639, allocations: 8 kB / 0.764 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1639, allocations: 3.938 kB / 0.764 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1639, allocations: 0 / 0.764 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.164, allocations: 8 kB / 0.764 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003932/0.1644, allocations: 0.586 MB / 0.7646 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.82e-05/0.1644, allocations: 8.125 kB / 0.7646 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.1644, allocations: 3.938 kB / 0.7646 GB, free: 12.06 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 8.187e-05/0.1645, allocations: 109.9 kB / 0.7647 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-06/0.1645, allocations: 0 / 0.7647 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.1646, allocations: 48.75 kB / 0.7647 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.1646, allocations: 3.938 kB / 0.7647 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1646, allocations: 0 / 0.7647 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1646, allocations: 0 / 0.7647 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.1648, allocations: 169.6 kB / 0.7649 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1648, allocations: 0 / 0.7649 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.1648, allocations: 8 kB / 0.7649 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1648, allocations: 0 / 0.7649 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1648, allocations: 4 kB / 0.7649 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003451/0.1652, allocations: 0.5898 MB / 0.7655 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1652, allocations: 32 / 0.7655 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.104e-05/0.1653, allocations: 69.19 kB / 0.7656 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.1653, allocations: 81.05 kB / 0.7656 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.1653, allocations: 7.922 kB / 0.7656 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.287e-05/0.1653, allocations: 0 / 0.7656 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.1654, allocations: 4 kB / 0.7656 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.1654, allocations: 0 / 0.7656 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.426e-05/0.1654, allocations: 79.31 kB / 0.7657 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.1654, allocations: 0 / 0.7657 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001783/0.1656, allocations: 8 kB / 0.7657 GB, free: 10.76 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.0004126/0.166, allocations: 0.6181 MB / 0.7663 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.1661, allocations: 24.11 kB / 0.7664 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1661, allocations: 0 / 0.7664 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.889e-05/0.1662, allocations: 12 kB / 0.7664 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.1664, allocations: 3.938 kB / 0.7664 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.1667, allocations: 147.5 kB / 0.7665 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.167, allocations: 0.669 MB / 0.7672 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.368e-05/0.167, allocations: 8.062 kB / 0.7672 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.1671, allocations: 15.38 kB / 0.7672 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1671, allocations: 0 / 0.7672 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.1922, allocations: 1.33 MB / 0.7685 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.75, allocations: 13.73 kB / 0.7685 GB, free: 7.953 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.171380508996663]