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.001134/0.001134, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001376/0.001376, allocations: 221.7 kB / 22.26 MB, free: 3.695 MB / 13.93 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.029/1.029, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.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.7992/0.7992, allocations: 203.8 MB / 0.5042 GB, free: 10.74 MB / 410.7 MB " [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: 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.001159/0.001159, allocations: 66.36 kB / 0.7182 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.543/0.5442, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00161/0.5458, allocations: 1.265 MB / 0.8191 GB, free: 368 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007027/0.5465, allocations: 0.5904 MB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.5465, allocations: 0 / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.5466, allocations: 0.9375 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.117e-05/0.5466, allocations: 4 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.547, allocations: 144.6 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.069e-05/0.5471, allocations: 14.12 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.5471, allocations: 1.609 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.258e-05/0.5471, allocations: 8.688 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.433e-05/0.5472, allocations: 1.766 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.5472, allocations: 2.469 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004132/0.5476, allocations: 347.7 kB / 0.8202 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.848e-06/0.5476, allocations: 4.562 kB / 0.8202 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.5476, allocations: 4.641 kB / 0.8202 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.5478, allocations: 142.8 kB / 0.8203 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.5478, allocations: 3.844 kB / 0.8203 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.774e-06/0.5478, allocations: 0 / 0.8203 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.5478, allocations: 0 / 0.8203 GB, free: 15.71 MB / 0.6198 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.000307/0.5481, allocations: 278.3 kB / 0.8206 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.5482, allocations: 9.938 kB / 0.8206 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.499e-05/0.5482, allocations: 31.31 kB / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.024e-05/0.5482, allocations: 0.9375 kB / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.388e-05/0.5483, allocations: 109.5 kB / 0.8207 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.5483, allocations: 7.312 kB / 0.8207 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.5483, allocations: 384 / 0.8207 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.948e-05/0.5484, allocations: 34.81 kB / 0.8208 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.5484, allocations: 3.938 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.5484, allocations: 4.5 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5484, allocations: 3.938 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.134e-05/0.5485, allocations: 4.297 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.5486, allocations: 125.5 kB / 0.8209 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.209e-05/0.5486, allocations: 21.22 kB / 0.8209 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.5486, allocations: 6.922 kB / 0.8209 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.5486, allocations: 3.688 kB / 0.8209 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.5487, allocations: 35.22 kB / 0.821 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 5.81e-07/0.5487, allocations: 0 / 0.821 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001122/0.5488, allocations: 46.16 kB / 0.821 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.5488, allocations: 56.33 kB / 0.8211 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.5489, allocations: 96.78 kB / 0.8212 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.5489, allocations: 25.7 kB / 0.8212 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.5489, allocations: 80.14 kB / 0.8213 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.5489, allocations: 10.77 kB / 0.8213 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.5489, allocations: 15.69 kB / 0.8213 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.549, allocations: 314 kB / 0.8216 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.549, allocations: 5.109 kB / 0.8216 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-06/0.549, allocations: 2.844 kB / 0.8216 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.5491, allocations: 18.86 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5491, allocations: 0 / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.053e-05/0.5491, allocations: 42.38 kB / 0.8217 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.5491, allocations: 11.8 kB / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5491, allocations: 0 / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.5491, allocations: 0 / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.5493, allocations: 14 kB / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002646/0.5495, allocations: 0.5863 MB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.111e-05/0.5495, allocations: 0 / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.5495, allocations: 2.969 kB / 0.8223 GB, free: 13.66 MB / 0.6198 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 5.861e-05/0.5496, allocations: 118.3 kB / 0.8224 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-06/0.5496, allocations: 2.984 kB / 0.8224 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.268e-05/0.5497, allocations: 54.47 kB / 0.8224 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5497, allocations: 2.875 kB / 0.8224 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5497, allocations: 0 / 0.8224 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5497, allocations: 0.7969 kB / 0.8224 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.746e-05/0.5498, allocations: 130.4 kB / 0.8226 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5498, allocations: 0 / 0.8226 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.5498, allocations: 9.906 kB / 0.8226 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.5498, allocations: 0.7031 kB / 0.8226 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.5498, allocations: 4 kB / 0.8226 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001929/0.55, allocations: 0.5875 MB / 0.8231 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.55, allocations: 5 kB / 0.8231 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.865e-05/0.5501, allocations: 64.52 kB / 0.8232 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.5501, allocations: 3.438 kB / 0.8232 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.5501, allocations: 4.781 kB / 0.8232 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-06/0.5501, allocations: 4 kB / 0.8232 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.5501, allocations: 8.188 kB / 0.8232 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.5501, allocations: 0.7031 kB / 0.8232 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.809e-05/0.5501, allocations: 79.92 kB / 0.8233 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5501, allocations: 0 / 0.8233 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001299/0.5503, allocations: 11.59 kB / 0.8233 GB, free: 12.55 MB / 0.6198 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.0002813/0.5505, allocations: 0.6079 MB / 0.8239 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.5507, allocations: 15.67 kB / 0.8239 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.5507, allocations: 0 / 0.8239 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/0.5507, allocations: 19.25 kB / 0.8239 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.5508, allocations: 13.06 kB / 0.824 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.5512, allocations: 133.5 kB / 0.8241 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.5513, allocations: 0.6729 MB / 0.8247 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.413e-05/0.5514, allocations: 1.656 kB / 0.8247 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.097e-05/0.5514, allocations: 8.141 kB / 0.8247 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.5514, allocations: 0 / 0.8247 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.5665, allocations: 1.4 MB / 0.8261 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.302/8.869, allocations: 8.828 kB / 0.8261 GB, free: 10.67 MB / 0.6198 GB " [Timeout remaining time 651] (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: 11.850995239103213] Failed to read output from testmodel.py, exit status != 0: 8.954899650998414 8.968370023 8.418080554 Calling exit ...