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.001687/0.001687, allocations: 109.9 kB / 16.45 MB, free: 6.035 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.001861/0.001861, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.505/1.505, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] 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 1.077/1.077, allocations: 175.8 MB / 478.4 MB, free: 8.496 MB / 382.1 MB " [Timeout remaining time 178] 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.001893/0.001893, allocations: 71.56 kB / 0.6652 GB, free: 0.582 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2189, allocations: 94.53 MB / 0.7575 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002492/0.2214, allocations: 1.254 MB / 0.7587 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.2225, allocations: 0.5877 MB / 0.7593 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.2226, allocations: 0 / 0.7593 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.2226, allocations: 0 / 0.7593 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.722e-05/0.2226, allocations: 3.938 kB / 0.7593 GB, free: 92 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4989/0.7215, allocations: 136 kB / 0.7595 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.118e-05/0.7216, allocations: 11.58 kB / 0.7595 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.834e-05/0.7217, allocations: 3.234 kB / 0.7595 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.69e-05/0.7217, allocations: 2.828 kB / 0.7595 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.383e-05/0.7218, allocations: 10.52 kB / 0.7595 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.7218, allocations: 0.6562 kB / 0.7595 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009375/0.7227, allocations: 339.5 kB / 0.7598 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.7228, allocations: 3.438 kB / 0.7598 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.7228, allocations: 10.3 kB / 0.7598 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.7232, allocations: 139.3 kB / 0.7599 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.7232, allocations: 0.875 kB / 0.7599 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.485e-06/0.7232, allocations: 0.875 kB / 0.7599 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.7232, allocations: 0 / 0.7599 GB, free: 7.945 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.0004306/0.7236, allocations: 352.4 kB / 0.7603 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.159e-05/0.7237, allocations: 12.55 kB / 0.7603 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.824e-05/0.7237, allocations: 34.94 kB / 0.7603 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.7238, allocations: 2.359 kB / 0.7603 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.7239, allocations: 165.3 kB / 0.7605 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.7239, allocations: 5.375 kB / 0.7605 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.7239, allocations: 1.438 kB / 0.7605 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.724, allocations: 35.47 kB / 0.7605 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.724, allocations: 0.8125 kB / 0.7605 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.724, allocations: 0 / 0.7605 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.724, allocations: 1.75 kB / 0.7605 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.441e-05/0.7241, allocations: 7.297 kB / 0.7605 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.7242, allocations: 159.8 kB / 0.7607 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.678e-05/0.7243, allocations: 24.44 kB / 0.7607 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.7243, allocations: 9.359 kB / 0.7607 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.7243, allocations: 4.781 kB / 0.7607 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.7244, allocations: 34.77 kB / 0.7608 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.7244, allocations: 0 / 0.7608 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001739/0.7245, allocations: 42.5 kB / 0.7608 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.7246, allocations: 58.78 kB / 0.7609 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.381e-05/0.7246, allocations: 93.75 kB / 0.7609 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.7246, allocations: 25.7 kB / 0.761 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.952e-05/0.7247, allocations: 81.88 kB / 0.7611 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.7247, allocations: 9.062 kB / 0.7611 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.7247, allocations: 13.06 kB / 0.7611 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.7248, allocations: 314.1 kB / 0.7614 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.7248, allocations: 0.9375 kB / 0.7614 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/0.7248, allocations: 6.781 kB / 0.7614 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.567e-05/0.7248, allocations: 13.91 kB / 0.7614 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7248, allocations: 2.875 kB / 0.7614 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.014e-05/0.7249, allocations: 43.52 kB / 0.7614 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.7249, allocations: 5.156 kB / 0.7614 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7249, allocations: 4.594 kB / 0.7614 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.7249, allocations: 1.219 kB / 0.7614 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.7251, allocations: 12.41 kB / 0.7615 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002872/0.7254, allocations: 0.5881 MB / 0.762 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.046e-05/0.7254, allocations: 1.094 kB / 0.762 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.7254, allocations: 1.688 kB / 0.762 GB, free: 5.77 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 6.104e-05/0.7255, allocations: 113.1 kB / 0.7621 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.7255, allocations: 2.797 kB / 0.7621 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.7256, allocations: 53.97 kB / 0.7622 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.7256, allocations: 1.156 kB / 0.7622 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.7256, allocations: 0.5938 kB / 0.7622 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7256, allocations: 2.406 kB / 0.7622 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.07e-05/0.7257, allocations: 151.8 kB / 0.7623 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7257, allocations: 0.6562 kB / 0.7623 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.262e-05/0.7258, allocations: 13 kB / 0.7624 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.7258, allocations: 0.9688 kB / 0.7624 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.7258, allocations: 5.469 kB / 0.7624 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002107/0.726, allocations: 0.5862 MB / 0.7629 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.726, allocations: 0.6875 kB / 0.7629 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.514e-05/0.7261, allocations: 62.59 kB / 0.763 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.7261, allocations: 82.05 kB / 0.7631 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.7261, allocations: 9.25 kB / 0.7631 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.967e-05/0.7262, allocations: 1.812 kB / 0.7631 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.7262, allocations: 2.172 kB / 0.7631 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.7262, allocations: 0.5312 kB / 0.7631 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.37e-05/0.7262, allocations: 80.72 kB / 0.7632 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.7262, allocations: 0.75 kB / 0.7632 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002914/0.7265, allocations: 10.97 kB / 0.7632 GB, free: 4.586 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.0006243/0.7271, allocations: 0.6129 MB / 0.7638 GB, free: 19.99 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.7273, allocations: 20.47 kB / 0.7638 GB, free: 19.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7273, allocations: 0 / 0.7638 GB, free: 19.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.7274, allocations: 19.55 kB / 0.7638 GB, free: 19.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.7276, allocations: 2.562 kB / 0.7638 GB, free: 19.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/0.7283, allocations: 141.9 kB / 0.764 GB, free: 19.83 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.7287, allocations: 0.678 MB / 0.7646 GB, free: 19.13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.7287, allocations: 0.7031 kB / 0.7646 GB, free: 19.13 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.7287, allocations: 12.78 kB / 0.7646 GB, free: 19.12 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.7287, allocations: 0 / 0.7646 GB, free: 19.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.755, allocations: 1.396 MB / 0.766 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.06, allocations: 11.5 kB / 0.766 GB, free: 18.79 MB / 0.5919 GB " [Timeout remaining time 647] (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 --stepSize=0.0004 --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: 17.052721859887242] Failed to read output from testmodel.py, exit status != 0: 13.155018962919712 13.177125801 12.449734165 Calling exit ...