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.0009143/0.0009143, 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.0009564/0.0009564, allocations: 169.9 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.8684/0.8684, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7061/0.7061, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.091e-05, allocations: 5.344 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001537/0.001558, allocations: 1.275 MB / 0.6193 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007321/0.00229, allocations: 0.5214 MB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.002316, allocations: 0 / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.002335, allocations: 4 kB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.002378, allocations: 7.938 kB / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.002822, allocations: 138 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.868e-05/0.002871, allocations: 7.938 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.002913, allocations: 3.984 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.185e-05/0.002945, allocations: 7.938 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.123e-05/0.002986, allocations: 7.984 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.002999, allocations: 0 / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.003292, allocations: 275.4 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.003305, allocations: 0 / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.003322, allocations: 8 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.003504, allocations: 147.5 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003506, allocations: 0 / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.322e-06/0.003507, allocations: 0 / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.003511, allocations: 0 / 0.6204 GB, free: 11.29 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.0002972/0.003809, allocations: 274 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.003846, allocations: 8.031 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.756e-05/0.003873, allocations: 30.75 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.167e-05/0.003895, allocations: 4.938 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.959e-05/0.003964, allocations: 113.7 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.003973, allocations: 384 / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.00398, allocations: 384 / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.823e-05/0.004058, allocations: 34.25 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004065, allocations: 192 / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.004072, allocations: 384 / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.004077, allocations: 4.125 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.149e-05/0.004099, allocations: 4 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.004218, allocations: 128.7 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.605e-05/0.004264, allocations: 30.55 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.004279, allocations: 8.922 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.004296, allocations: 0 / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.004313, allocations: 30.56 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 5.21e-07/0.004314, allocations: 0 / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001158/0.00443, allocations: 45.69 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.004458, allocations: 55.34 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.667e-05/0.004505, allocations: 97.8 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.004513, allocations: 25.7 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.953e-05/0.004533, allocations: 84.33 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.004554, allocations: 11.95 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.078e-05/0.004575, allocations: 17.66 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.205e-05/0.004647, allocations: 314.8 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-06/0.004656, allocations: 4 kB / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.004662, allocations: 0 / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.379e-05/0.004686, allocations: 16.86 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.004687, allocations: 0 / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.613e-05/0.004724, allocations: 37.7 kB / 0.6218 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.004735, allocations: 4 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.004741, allocations: 8.078 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.004752, allocations: 3.938 kB / 0.6218 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.004875, allocations: 11.94 kB / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000278/0.005153, allocations: 0.5822 MB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.322e-05/0.005166, allocations: 0 / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.005171, allocations: 0 / 0.6223 GB, free: 9.105 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.035e-05/0.005231, allocations: 110.8 kB / 0.6225 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-06/0.005237, allocations: 7.938 kB / 0.6225 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.152e-05/0.005319, allocations: 56.98 kB / 0.6225 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.005321, allocations: 3.984 kB / 0.6225 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.005325, allocations: 0 / 0.6225 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.005328, allocations: 0 / 0.6225 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.139e-05/0.005389, allocations: 120.8 kB / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.005392, allocations: 7.938 kB / 0.6226 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.005437, allocations: 11.98 kB / 0.6227 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.00544, allocations: 0 / 0.6227 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.005445, allocations: 0 / 0.6227 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001903/0.005635, allocations: 0.59 MB / 0.6232 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.005636, allocations: 0 / 0.6232 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.812e-05/0.005684, allocations: 69 kB / 0.6233 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.00569, allocations: 4 kB / 0.6233 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-06/0.005699, allocations: 0 / 0.6233 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-06/0.005705, allocations: 0 / 0.6233 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.005718, allocations: 0 / 0.6233 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.00572, allocations: 0 / 0.6233 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.838e-05/0.005748, allocations: 83.27 kB / 0.6234 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.005748, allocations: 3.938 kB / 0.6234 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001365/0.005885, allocations: 24.09 kB / 0.6234 GB, free: 7.922 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.0002548/0.006139, allocations: 0.6046 MB / 0.624 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.006246, allocations: 15.98 kB / 0.624 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006248, allocations: 0 / 0.624 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.177e-05/0.00628, allocations: 15.98 kB / 0.624 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.006387, allocations: 4 kB / 0.624 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.006718, allocations: 134.7 kB / 0.6242 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.335e-05/0.006751, allocations: 63.28 kB / 0.6242 GB, free: 7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.162e-05/0.006763, allocations: 0 / 0.6242 GB, free: 7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.006785, allocations: 16.5 kB / 0.6242 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.006786, allocations: 0 / 0.6242 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.02355, allocations: 1.947 MB / 0.6261 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.377/8.4, allocations: 8.016 kB / 0.6261 GB, free: 5.223 MB / 0.5886 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 11.29092043172568] Failed to read output from testmodel.py, exit status != 0: 8.489345439709723 8.504252034 8.49809063 Calling exit ...