Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007556/0.0007556, 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.0007658/0.0007658, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9329/0.9329, allocations: 230.6 MB / 256 MB, free: 9.797 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.8344/0.8344, allocations: 203.8 MB / 0.5042 GB, free: 10.67 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.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.0009395/0.0009395, allocations: 70.94 kB / 0.7182 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.5415, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001777/0.5433, allocations: 1.309 MB / 0.8191 GB, free: 332 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007557/0.544, allocations: 0.5871 MB / 0.8197 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.544, allocations: 6.469 kB / 0.8197 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.5441, allocations: 4.453 kB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.311e-05/0.5441, allocations: 4.922 kB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.5446, allocations: 142.7 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.32e-05/0.5446, allocations: 25.31 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.5447, allocations: 4.547 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.324e-05/0.5447, allocations: 2.891 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.5448, allocations: 13.11 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.5448, allocations: 11.92 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004026/0.5452, allocations: 340.9 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.5452, allocations: 2.312 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.5452, allocations: 14.12 kB / 0.8203 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.5455, allocations: 147.9 kB / 0.8204 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5455, allocations: 0 / 0.8204 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.525e-06/0.5455, allocations: 0 / 0.8204 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.5455, allocations: 0 / 0.8204 GB, free: 15.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004157/0.5459, allocations: 287.9 kB / 0.8207 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.5459, allocations: 15.09 kB / 0.8207 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.821e-05/0.546, allocations: 31.36 kB / 0.8207 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.546, allocations: 0.9375 kB / 0.8207 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.742e-05/0.5461, allocations: 106.5 kB / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.5461, allocations: 2.562 kB / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.5461, allocations: 4.375 kB / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.5462, allocations: 45.09 kB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.5462, allocations: 4.641 kB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.5462, allocations: 0 / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5462, allocations: 1.469 kB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.501e-05/0.5463, allocations: 23.3 kB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.5466, allocations: 221.7 kB / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.5468, allocations: 48.19 kB / 0.8212 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.5468, allocations: 13.73 kB / 0.8212 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.5468, allocations: 0.6562 kB / 0.8212 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.5468, allocations: 40.31 kB / 0.8212 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.843e-06/0.5468, allocations: 0 / 0.8212 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001671/0.547, allocations: 55.03 kB / 0.8213 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.547, allocations: 57.59 kB / 0.8213 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.393e-05/0.5471, allocations: 94.86 kB / 0.8214 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.5471, allocations: 29.64 kB / 0.8214 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.5472, allocations: 89.59 kB / 0.8215 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.5472, allocations: 11.92 kB / 0.8215 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.5472, allocations: 22.52 kB / 0.8216 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.5473, allocations: 313.1 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.5473, allocations: 6.141 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.494e-05/0.5474, allocations: 24.25 kB / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.653e-05/0.5474, allocations: 30.61 kB / 0.8219 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5474, allocations: 3.938 kB / 0.8219 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.718e-05/0.5475, allocations: 60.69 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.5475, allocations: 5.625 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.5475, allocations: 7.922 kB / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.5475, allocations: 7.594 kB / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.386e-05/0.5476, allocations: 6.5 kB / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.5476, allocations: 1.125 kB / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.839e-05/0.5476, allocations: 9.297 kB / 0.822 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.5476, allocations: 2.406 kB / 0.822 GB, free: 14.03 MB / 0.6198 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 5.644e-05/0.5477, allocations: 111.6 kB / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.5477, allocations: 6.859 kB / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.5478, allocations: 66.16 kB / 0.8222 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5478, allocations: 0 / 0.8222 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5478, allocations: 1.594 kB / 0.8222 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5478, allocations: 4.109 kB / 0.8222 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.5479, allocations: 148.3 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5479, allocations: 0 / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.548, allocations: 6.547 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.548, allocations: 0 / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.548, allocations: 0.8438 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.548, allocations: 5.406 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.548, allocations: 0 / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.883e-05/0.5481, allocations: 148.1 kB / 0.8225 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.5481, allocations: 1.344 kB / 0.8225 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.5481, allocations: 1.75 kB / 0.8225 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.668e-05/0.5481, allocations: 0.6094 kB / 0.8225 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.5481, allocations: 6.328 kB / 0.8225 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.5481, allocations: 5.891 kB / 0.8225 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.067e-05/0.5481, allocations: 86.98 kB / 0.8226 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5481, allocations: 0 / 0.8226 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001876/0.5483, allocations: 18.81 kB / 0.8226 GB, free: 13.44 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 (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.0003566/0.5487, allocations: 0.6989 MB / 0.8233 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.439e-05/0.5488, allocations: 30.7 kB / 0.8233 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5488, allocations: 0 / 0.8233 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-05/0.5488, allocations: 12.59 kB / 0.8233 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.549, allocations: 4.125 kB / 0.8233 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003848/0.5494, allocations: 160.3 kB / 0.8235 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.5495, allocations: 0.6805 MB / 0.8242 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.807e-05/0.5496, allocations: 5 kB / 0.8242 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.5496, allocations: 11.08 kB / 0.8242 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.5496, allocations: 0 / 0.8242 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.5717, allocations: 1.508 MB / 0.8256 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.305/7.876, allocations: 7.188 kB / 0.8256 GB, free: 11.44 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.901953793829307] Failed to read output from testmodel.py, exit status != 0: 7.953128449851647 7.964054879 7.416440289 Calling exit ...