Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001041/0.001041, 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.001106/0.001106, 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.8981/0.8981, 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 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.7042/0.7042, allocations: 154.6 MB / 413.8 MB, free: 0.7891 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.InverseFlowFunctions,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.377e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00186/0.001884, allocations: 1.298 MB / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007886/0.002672, allocations: 0.5214 MB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/0.002707, allocations: 0 / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.00273, allocations: 3.984 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.002777, allocations: 3.938 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.003281, allocations: 151.2 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.75e-05/0.003349, allocations: 19.91 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.657e-05/0.003405, allocations: 8 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.315e-05/0.003448, allocations: 11.94 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.424e-05/0.003513, allocations: 7.984 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.003528, allocations: 0 / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003352/0.003864, allocations: 275.4 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.003883, allocations: 3.984 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.003906, allocations: 4 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.004139, allocations: 151.5 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.004144, allocations: 0 / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.144e-06/0.004146, allocations: 0 / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.004152, allocations: 0 / 0.6205 GB, free: 11.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004627/0.004615, allocations: 286 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.004667, allocations: 12.03 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/0.004706, allocations: 34.75 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.004735, allocations: 4.891 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.792e-05/0.004833, allocations: 113.7 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.004845, allocations: 384 / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.004855, allocations: 384 / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.004976, allocations: 42.25 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.004985, allocations: 192 / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.004996, allocations: 4.375 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.005005, allocations: 12.12 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.963e-05/0.005055, allocations: 11.98 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.005402, allocations: 220.1 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.005613, allocations: 50.5 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.005642, allocations: 12.86 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.005667, allocations: 4 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.005692, allocations: 34.5 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.005694, allocations: 3.938 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.000183/0.005877, allocations: 61.61 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.005916, allocations: 59.41 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.005983, allocations: 97.86 kB / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.005997, allocations: 25.7 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.006044, allocations: 84.09 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.171e-05/0.006056, allocations: 11.91 kB / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.006087, allocations: 21.7 kB / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.798e-05/0.006175, allocations: 314.8 kB / 0.622 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.006194, allocations: 4 kB / 0.622 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.779e-05/0.006221, allocations: 25.7 kB / 0.622 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.395e-05/0.006265, allocations: 26.09 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.006268, allocations: 7.938 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.878e-05/0.006346, allocations: 61.61 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.006362, allocations: 8 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.006367, allocations: 0 / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.00638, allocations: 0 / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.534e-05/0.006425, allocations: 12.11 kB / 0.6221 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.006432, allocations: 3.938 kB / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.771e-05/0.00645, allocations: 7.938 kB / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.006456, allocations: 4 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.399e-05/0.00652, allocations: 114.9 kB / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.006535, allocations: 11.89 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.006659, allocations: 53.38 kB / 0.6223 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.006664, allocations: 4 kB / 0.6223 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.006669, allocations: 3.984 kB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006672, allocations: 0 / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.006777, allocations: 120.8 kB / 0.6224 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.006778, allocations: 0 / 0.6224 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.528e-05/0.006803, allocations: 11.98 kB / 0.6224 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.006806, allocations: 3.938 kB / 0.6224 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.006813, allocations: 7.938 kB / 0.6224 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.006815, allocations: 3.938 kB / 0.6224 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006816, allocations: 0 / 0.6224 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.165e-05/0.006907, allocations: 147.5 kB / 0.6226 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.006916, allocations: 7.891 kB / 0.6226 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.006926, allocations: 0 / 0.6226 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.877e-05/0.006955, allocations: 0 / 0.6226 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.006972, allocations: 11.98 kB / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.006975, allocations: 0 / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.959e-05/0.007004, allocations: 79.28 kB / 0.6227 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007004, allocations: 0 / 0.6227 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001758/0.00718, allocations: 23.88 kB / 0.6227 GB, free: 8.656 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003941/0.007574, allocations: 0.7083 MB / 0.6234 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.84e-05/0.007673, allocations: 16 kB / 0.6234 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.007676, allocations: 4 kB / 0.6234 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.377e-05/0.007689, allocations: 16.34 kB / 0.6234 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.007855, allocations: 4 kB / 0.6234 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.008273, allocations: 146.5 kB / 0.6236 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.852e-05/0.008332, allocations: 63.41 kB / 0.6236 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.054e-05/0.008362, allocations: 4.25 kB / 0.6236 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.008396, allocations: 12.5 kB / 0.6236 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of SimCode: time 9.82e-07/0.008397, allocations: 0 / 0.6236 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.02848, allocations: 2.034 MB / 0.6256 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.175, allocations: 13.88 kB / 0.6256 GB, free: 5.715 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_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_InverseFlowFunctions.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.063090178184211] Failed to read output from testmodel.py, exit status != 0: 7.263945669867098 7.275748182 7.269390129 Calling exit ...