Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001086/0.001086, 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.001239/0.001239, 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.8729/0.8729, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7139/0.7139, allocations: 154.6 MB / 413.7 MB, free: 0.8398 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_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.394e-05, allocations: 5.719 kB / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001889/0.001913, allocations: 1.263 MB / 0.6193 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007637/0.002676, allocations: 0.5176 MB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.002707, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.002728, allocations: 7.922 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.026e-05/0.002768, allocations: 3.938 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.003273, allocations: 138.6 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.54e-05/0.003329, allocations: 15.92 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.003375, allocations: 4 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.375e-05/0.003408, allocations: 7.922 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.866e-05/0.003457, allocations: 11.98 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.003472, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.003774, allocations: 259.4 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.003789, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.003809, allocations: 11.94 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.004009, allocations: 147.5 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.004014, allocations: 4 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.034e-06/0.004016, allocations: 4 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.00402, allocations: 0 / 0.6204 GB, free: 11.31 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.0003442/0.004365, allocations: 274 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.004408, allocations: 9.469 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.004439, allocations: 38.75 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.004466, allocations: 8.922 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.093e-05/0.004546, allocations: 101.8 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.004557, allocations: 384 / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.004569, allocations: 4.375 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.184e-05/0.004651, allocations: 26.27 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.004658, allocations: 4.188 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.004667, allocations: 4.375 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.004672, allocations: 4.125 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.447e-05/0.004697, allocations: 3.938 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.004821, allocations: 128.7 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.907e-05/0.00487, allocations: 26.61 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.004885, allocations: 4.859 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.004904, allocations: 0 / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.004925, allocations: 34.62 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.004925, allocations: 3.938 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000137/0.005062, allocations: 49.62 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.005097, allocations: 55.34 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.99e-05/0.005156, allocations: 93.86 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.005166, allocations: 25.7 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.56e-05/0.005192, allocations: 80.14 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.005224, allocations: 15.94 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.005248, allocations: 9.719 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.132e-05/0.00533, allocations: 314.8 kB / 0.6216 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.005341, allocations: 0 / 0.6216 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-06/0.005351, allocations: 12.25 kB / 0.6216 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.82e-05/0.005379, allocations: 8.859 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005381, allocations: 0 / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.058e-05/0.005432, allocations: 45.62 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.005446, allocations: 4 kB / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.005454, allocations: 4 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.005468, allocations: 0 / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.005638, allocations: 15.92 kB / 0.6217 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003067/0.005945, allocations: 0.5861 MB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.701e-05/0.005962, allocations: 0 / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.00597, allocations: 0 / 0.6223 GB, free: 9.125 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.968e-05/0.00604, allocations: 110.9 kB / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.006046, allocations: 3.938 kB / 0.6224 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.006152, allocations: 48.94 kB / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.006155, allocations: 0 / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.00616, allocations: 0 / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.006163, allocations: 0 / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.639e-05/0.006239, allocations: 124.8 kB / 0.6226 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.006242, allocations: 7.938 kB / 0.6226 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.006306, allocations: 8 kB / 0.6226 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.006309, allocations: 0 / 0.6226 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.006316, allocations: 4 kB / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000221/0.006537, allocations: 0.5898 MB / 0.6232 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.006539, allocations: 3.984 kB / 0.6232 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.351e-05/0.006593, allocations: 65.11 kB / 0.6232 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-06/0.006601, allocations: 0 / 0.6232 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.006611, allocations: 128 / 0.6232 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-06/0.00662, allocations: 4 kB / 0.6232 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.006635, allocations: 7.984 kB / 0.6232 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.006638, allocations: 0 / 0.6232 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.835e-05/0.006666, allocations: 75.28 kB / 0.6233 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006666, allocations: 0 / 0.6233 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001441/0.00681, allocations: 23.81 kB / 0.6233 GB, free: 7.953 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.0003085/0.007119, allocations: 0.6124 MB / 0.6239 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.007259, allocations: 20.11 kB / 0.624 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.007261, allocations: 4 kB / 0.624 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.9e-05/0.00729, allocations: 8 kB / 0.624 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.00741, allocations: 6.188 kB / 0.624 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.007852, allocations: 138.4 kB / 0.6241 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.007897, allocations: 59.36 kB / 0.6242 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.886e-05/0.007915, allocations: 4.125 kB / 0.6242 GB, free: 7.02 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.007945, allocations: 12.5 kB / 0.6242 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of SimCode: time 1.002e-06/0.007946, allocations: 0 / 0.6242 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.02643, allocations: 1.937 MB / 0.6261 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.522/8.548, allocations: 13.2 kB / 0.6261 GB, free: 5.258 MB / 0.5886 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.349590558558702] Failed to read output from testmodel.py, exit status != 0: 8.644711236469448 8.660617507 8.653880361 Calling exit ...