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.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.001098/0.001098, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001334/0.001334, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9104/0.9104, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7546/0.7546, allocations: 154.6 MB / 413.7 MB, free: 0.8516 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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 1.974e-06/1.974e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.791e-05, allocations: 2.281 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00214/0.002158, allocations: 1.279 MB / 0.6193 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.003305, allocations: 0.5215 MB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.003332, allocations: 0 / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.003354, allocations: 0 / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.561e-05/0.0034, allocations: 3.938 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.003934, allocations: 143.2 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.97e-05/0.003994, allocations: 7.938 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.004041, allocations: 4 kB / 0.62 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.364e-05/0.004074, allocations: 3.984 kB / 0.62 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.648e-05/0.004121, allocations: 12 kB / 0.62 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.004136, allocations: 0 / 0.62 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003937/0.004529, allocations: 267.4 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.004547, allocations: 0 / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.004576, allocations: 15.92 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.004817, allocations: 135.6 kB / 0.6204 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.004821, allocations: 7.984 kB / 0.6204 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004822, allocations: 0 / 0.6204 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.004826, allocations: 0 / 0.6204 GB, free: 11.37 MB / 0.5886 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.0003458/0.005172, allocations: 276.4 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.005214, allocations: 13.47 kB / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.386e-05/0.005248, allocations: 34.75 kB / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.00527, allocations: 4.938 kB / 0.6207 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.738e-05/0.005357, allocations: 109.7 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.005368, allocations: 384 / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.005377, allocations: 4.375 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.808e-05/0.005465, allocations: 30.25 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.005478, allocations: 192 / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.005487, allocations: 4.375 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.005494, allocations: 4.125 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.882e-05/0.005523, allocations: 11.98 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.005666, allocations: 120.7 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.809e-05/0.005724, allocations: 34.53 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.005745, allocations: 4.859 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.005766, allocations: 0 / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.005788, allocations: 34.62 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.005789, allocations: 3.938 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001462/0.005936, allocations: 37.7 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.005971, allocations: 55.34 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/0.006041, allocations: 102 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.006054, allocations: 29.64 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.006082, allocations: 80.14 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.006113, allocations: 11.95 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.006143, allocations: 9.719 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.006231, allocations: 314.8 kB / 0.6216 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.006248, allocations: 3.984 kB / 0.6217 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.086e-05/0.006259, allocations: 8 kB / 0.6217 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.208e-05/0.006291, allocations: 8.859 kB / 0.6217 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006293, allocations: 192 / 0.6217 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.594e-05/0.006359, allocations: 41.7 kB / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.006378, allocations: 4 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.006384, allocations: 4 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.006397, allocations: 0 / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.006559, allocations: 23.8 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003403/0.006899, allocations: 0.5782 MB / 0.6223 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.006919, allocations: 0 / 0.6223 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.006926, allocations: 0 / 0.6223 GB, free: 9.18 MB / 0.5886 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.963e-05/0.006996, allocations: 115 kB / 0.6224 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-06/0.007005, allocations: 7.922 kB / 0.6224 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.00711, allocations: 44.95 kB / 0.6225 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.007114, allocations: 4 kB / 0.6225 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.007118, allocations: 0 / 0.6225 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007121, allocations: 0 / 0.6225 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.461e-05/0.007206, allocations: 124.8 kB / 0.6226 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.007209, allocations: 3.938 kB / 0.6226 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.053e-05/0.00729, allocations: 11.98 kB / 0.6226 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.007293, allocations: 0 / 0.6226 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.007301, allocations: 8.031 kB / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002886/0.00759, allocations: 0.5821 MB / 0.6232 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007591, allocations: 0 / 0.6232 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.824e-05/0.007659, allocations: 73.03 kB / 0.6232 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.007666, allocations: 0 / 0.6232 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.007676, allocations: 0 / 0.6232 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.552e-05/0.007692, allocations: 0 / 0.6232 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.007707, allocations: 4 kB / 0.6232 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-06/0.00771, allocations: 0 / 0.6232 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.768e-05/0.007738, allocations: 79.41 kB / 0.6233 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.11e-07/0.007738, allocations: 0 / 0.6233 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002255/0.007963, allocations: 23.81 kB / 0.6233 GB, free: 8.004 MB / 0.5886 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.0003695/0.008333, allocations: 0.6085 MB / 0.6239 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.0085, allocations: 15.98 kB / 0.624 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.008502, allocations: 4 kB / 0.624 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.543e-05/0.008567, allocations: 16.17 kB / 0.624 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.008721, allocations: 4 kB / 0.624 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.009182, allocations: 132.4 kB / 0.6241 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.647e-05/0.009228, allocations: 59.36 kB / 0.6242 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.822e-05/0.009246, allocations: 7.922 kB / 0.6242 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.009273, allocations: 8.5 kB / 0.6242 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.009274, allocations: 0 / 0.6242 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.02363, allocations: 1.953 MB / 0.6261 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/7.904, allocations: 13.48 kB / 0.6261 GB, free: 5.312 MB / 0.5886 GB " [Timeout remaining time 652] (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: 10.706061215139925] Failed to read output from testmodel.py, exit status != 0: 7.990500150248408 8.000055829 7.993406188 Calling exit ...