Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 113.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 217.8 kB / 22.26 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8824/0.8824, allocations: 134 MB / 446.4 MB, free: 10.18 MB / 350.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_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_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 65.77 kB / 0.6185 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1784, allocations: 85.91 MB / 0.7024 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002577/0.181, allocations: 1.264 MB / 0.7037 GB, free: 112 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1821, allocations: 0.5997 MB / 0.7043 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.1821, allocations: 0 / 0.7043 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.1821, allocations: 3.938 kB / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.239e-05/0.1822, allocations: 0 / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.1828, allocations: 151.4 kB / 0.7044 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.746e-05/0.1828, allocations: 11.94 kB / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.164e-05/0.1829, allocations: 7.984 kB / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.761e-05/0.1829, allocations: 0 / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.765e-05/0.1829, allocations: 7.938 kB / 0.7044 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.1829, allocations: 0 / 0.7044 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000557/0.1835, allocations: 351.3 kB / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.368e-06/0.1835, allocations: 0 / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.1835, allocations: 4 kB / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.1838, allocations: 143.8 kB / 0.7049 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1838, allocations: 0 / 0.7049 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1838, allocations: 0 / 0.7049 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.1838, allocations: 0 / 0.7049 GB, free: 14.84 MB / 0.5294 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.0004019/0.1842, allocations: 282 kB / 0.7052 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1843, allocations: 12.03 kB / 0.7052 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.1843, allocations: 30.75 kB / 0.7052 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.283e-05/0.1843, allocations: 0.9375 kB / 0.7052 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1844, allocations: 114.5 kB / 0.7053 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1844, allocations: 384 / 0.7053 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.1845, allocations: 4.125 kB / 0.7053 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.995e-05/0.1846, allocations: 37.69 kB / 0.7054 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.1846, allocations: 3.938 kB / 0.7054 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.1846, allocations: 0 / 0.7054 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1846, allocations: 0 / 0.7054 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/0.1846, allocations: 7.938 kB / 0.7054 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.1848, allocations: 128.8 kB / 0.7055 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.773e-05/0.1848, allocations: 22.58 kB / 0.7055 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.1849, allocations: 8.797 kB / 0.7055 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.1849, allocations: 4.062 kB / 0.7055 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.1849, allocations: 38.5 kB / 0.7056 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1849, allocations: 0 / 0.7056 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001442/0.1851, allocations: 41.62 kB / 0.7056 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1851, allocations: 55.53 kB / 0.7057 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/0.1852, allocations: 97.86 kB / 0.7058 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1852, allocations: 25.7 kB / 0.7058 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.1852, allocations: 80.14 kB / 0.7059 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.1853, allocations: 7.953 kB / 0.7059 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.1853, allocations: 13.7 kB / 0.7059 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1854, allocations: 318.8 kB / 0.7062 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/0.1854, allocations: 128 / 0.7062 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.819e-06/0.1854, allocations: 8 kB / 0.7062 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.402e-05/0.1855, allocations: 12.86 kB / 0.7062 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1855, allocations: 0 / 0.7062 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.276e-05/0.1856, allocations: 49.52 kB / 0.7063 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1856, allocations: 4 kB / 0.7063 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1856, allocations: 0 / 0.7063 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1856, allocations: 4 kB / 0.7063 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.1857, allocations: 4 kB / 0.7063 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004159/0.1862, allocations: 0.59 MB / 0.7068 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.1862, allocations: 0 / 0.7068 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1862, allocations: 3.938 kB / 0.7068 GB, free: 12.64 MB / 0.5294 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.667e-05/0.1863, allocations: 120.8 kB / 0.707 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.1863, allocations: 4 kB / 0.707 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.1864, allocations: 53.08 kB / 0.707 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1864, allocations: 0 / 0.707 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1864, allocations: 0 / 0.707 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1864, allocations: 0 / 0.707 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.1865, allocations: 128.6 kB / 0.7071 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1865, allocations: 0 / 0.7071 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.302e-05/0.1866, allocations: 8 kB / 0.7071 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1866, allocations: 0 / 0.7071 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1866, allocations: 4 kB / 0.7071 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003572/0.1869, allocations: 0.5898 MB / 0.7077 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1869, allocations: 3.984 kB / 0.7077 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.779e-05/0.187, allocations: 65.12 kB / 0.7078 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-06/0.187, allocations: 0 / 0.7078 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.187, allocations: 3.938 kB / 0.7078 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.433e-05/0.1871, allocations: 0 / 0.7078 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.1871, allocations: 16.09 kB / 0.7078 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.1871, allocations: 4 kB / 0.7078 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.075e-05/0.1871, allocations: 75.28 kB / 0.7079 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1871, allocations: 3.938 kB / 0.7079 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001987/0.1873, allocations: 8 kB / 0.7079 GB, free: 11.47 MB / 0.5294 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.0004637/0.1878, allocations: 0.6202 MB / 0.7085 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001649/0.188, allocations: 15.98 kB / 0.7085 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.188, allocations: 0 / 0.7085 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/0.188, allocations: 11.94 kB / 0.7085 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.1882, allocations: 8 kB / 0.7085 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.1887, allocations: 136 kB / 0.7087 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.189, allocations: 0.6767 MB / 0.7093 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.581e-05/0.189, allocations: 0 / 0.7093 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.189, allocations: 11.44 kB / 0.7093 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of SimCode: time 4.4e-07/0.189, allocations: 0 / 0.7093 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.2174, allocations: 1.396 MB / 0.7107 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/12.76, allocations: 4 kB / 0.7107 GB, free: 8.66 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.38159134797752] Failed to read output from testmodel.py, exit status != 0: 12.897154934005812 12.928575421 12.739392291 Calling exit ...