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.001092/0.001092, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008491/0.0008491, allocations: 207.6 kB / 22.25 MB, free: 3.59 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 0.9235/0.9235, allocations: 230.6 MB / 256 MB, free: 9.602 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.7744/0.7744, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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_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: 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.001481/0.001481, allocations: 63.28 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5106/0.5121, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001653/0.5137, allocations: 1.272 MB / 0.819 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000902/0.5146, allocations: 0.5156 MB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.5147, allocations: 2.938 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.5147, allocations: 0.5625 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.048e-05/0.5147, allocations: 0 / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009774/0.5157, allocations: 147.9 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.206e-05/0.5158, allocations: 17.7 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.5158, allocations: 0.6562 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.5158, allocations: 4.453 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.275e-05/0.5159, allocations: 3.922 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.5159, allocations: 0 / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.5162, allocations: 267.2 kB / 0.82 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.5162, allocations: 0.6094 kB / 0.82 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.5163, allocations: 5.969 kB / 0.82 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.5165, allocations: 134.6 kB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5165, allocations: 3.938 kB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5165, allocations: 0.9375 kB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.5165, allocations: 0 / 0.8201 GB, free: 15.62 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.0003096/0.5168, allocations: 280.1 kB / 0.8204 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.5168, allocations: 11.62 kB / 0.8204 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.703e-05/0.5168, allocations: 31.41 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.884e-05/0.5169, allocations: 0.9375 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.5169, allocations: 106.5 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.5169, allocations: 0.9844 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-06/0.517, allocations: 4.375 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.667e-05/0.517, allocations: 38.03 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.517, allocations: 4.531 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.5171, allocations: 0.6094 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.5171, allocations: 2.656 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.258e-05/0.5171, allocations: 2.266 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.5172, allocations: 121.3 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.023e-05/0.5173, allocations: 22.27 kB / 0.8207 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.5173, allocations: 7.625 kB / 0.8207 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.5173, allocations: 3.938 kB / 0.8207 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.5173, allocations: 40.7 kB / 0.8208 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5173, allocations: 0 / 0.8208 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001216/0.5174, allocations: 40.89 kB / 0.8208 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.5175, allocations: 53.73 kB / 0.8208 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.427e-05/0.5175, allocations: 97.58 kB / 0.8209 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.5175, allocations: 25.7 kB / 0.821 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.466e-05/0.5175, allocations: 85.84 kB / 0.821 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.5176, allocations: 8.594 kB / 0.821 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.5176, allocations: 18.23 kB / 0.8211 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.32e-05/0.5177, allocations: 316.4 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.5177, allocations: 3.375 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-06/0.5177, allocations: 7.891 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/0.5177, allocations: 12.44 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5177, allocations: 0 / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.46e-05/0.5178, allocations: 40.14 kB / 0.8214 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.5178, allocations: 11.22 kB / 0.8214 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5178, allocations: 0.75 kB / 0.8214 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.5178, allocations: 3.938 kB / 0.8214 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.5179, allocations: 12.3 kB / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002662/0.5182, allocations: 0.5849 MB / 0.822 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.362e-05/0.5182, allocations: 0 / 0.822 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.5182, allocations: 6.156 kB / 0.822 GB, free: 13.56 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.704e-05/0.5183, allocations: 112.2 kB / 0.8221 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-06/0.5183, allocations: 4.875 kB / 0.8221 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.944e-05/0.5184, allocations: 51.14 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5184, allocations: 0.5625 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5184, allocations: 4.125 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.5184, allocations: 3.938 kB / 0.8222 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.832e-05/0.5184, allocations: 126.6 kB / 0.8223 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5184, allocations: 0 / 0.8223 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/0.5185, allocations: 21.27 kB / 0.8223 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5185, allocations: 0.7031 kB / 0.8223 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.5185, allocations: 0 / 0.8223 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002128/0.5187, allocations: 0.5826 MB / 0.8229 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5187, allocations: 3.938 kB / 0.8229 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.165e-05/0.5188, allocations: 74.2 kB / 0.823 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-06/0.5188, allocations: 0.6094 kB / 0.823 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.098e-06/0.5188, allocations: 0.5156 kB / 0.823 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-06/0.5188, allocations: 2.156 kB / 0.823 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.5188, allocations: 5.391 kB / 0.823 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.5188, allocations: 1.344 kB / 0.823 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.33e-05/0.5188, allocations: 77.41 kB / 0.8231 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5188, allocations: 0 / 0.8231 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001358/0.519, allocations: 13.16 kB / 0.8231 GB, free: 12.47 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.0002718/0.5192, allocations: 0.6074 MB / 0.8237 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.5194, allocations: 18.45 kB / 0.8237 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5194, allocations: 0 / 0.8237 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.609e-05/0.5194, allocations: 19.8 kB / 0.8237 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/0.5195, allocations: 12.06 kB / 0.8237 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.5199, allocations: 132 kB / 0.8239 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.366e-05/0.52, allocations: 62.77 kB / 0.8239 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.355e-05/0.52, allocations: 0.5625 kB / 0.8239 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.52, allocations: 7.438 kB / 0.8239 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/0.52, allocations: 0 / 0.8239 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.5367, allocations: 1.798 MB / 0.8257 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.589, allocations: 9.953 kB / 0.8257 GB, free: 10.8 MB / 0.6198 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.558633109088987] Failed to read output from testmodel.py, exit status != 0: 8.674451024271548 8.687281163 8.168396895 Calling exit ...