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.0009046/0.0009046, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001327/0.001327, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9052/0.9052, allocations: 230.6 MB / 256 MB, free: 9.594 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.7925/0.7925, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.0008712/0.0008712, allocations: 74.59 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5177/0.5186, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001589/0.5202, allocations: 1.306 MB / 0.8191 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000745/0.5209, allocations: 0.5152 MB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.521, allocations: 0 / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.521, allocations: 4.656 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.777e-05/0.521, allocations: 6.062 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/0.5216, allocations: 154.2 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.564e-05/0.5216, allocations: 15 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.5217, allocations: 3.281 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.5217, allocations: 16.64 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.532e-05/0.5217, allocations: 5.547 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.5217, allocations: 7.719 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.522, allocations: 265.4 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.5221, allocations: 6.531 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.5221, allocations: 7.234 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.5223, allocations: 141.7 kB / 0.8202 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5223, allocations: 0 / 0.8202 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5223, allocations: 0 / 0.8202 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.5223, allocations: 0 / 0.8202 GB, free: 15.59 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.0003453/0.5226, allocations: 284.4 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.5227, allocations: 9 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.023e-05/0.5227, allocations: 33.98 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.293e-05/0.5227, allocations: 12.81 kB / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.737e-05/0.5228, allocations: 104.6 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.5228, allocations: 1.969 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.5228, allocations: 3.203 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.691e-05/0.5229, allocations: 46.41 kB / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5229, allocations: 3.938 kB / 0.8207 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.5229, allocations: 0 / 0.8207 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.5229, allocations: 0 / 0.8207 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.311e-05/0.523, allocations: 15.25 kB / 0.8207 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.5233, allocations: 223.3 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.5234, allocations: 57.22 kB / 0.8209 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.5235, allocations: 14.16 kB / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.5235, allocations: 0 / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.5235, allocations: 36.86 kB / 0.821 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.5235, allocations: 0 / 0.821 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001418/0.5236, allocations: 55.91 kB / 0.821 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.5237, allocations: 55.47 kB / 0.8211 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.681e-05/0.5237, allocations: 101.2 kB / 0.8212 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.5237, allocations: 26.95 kB / 0.8212 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.5238, allocations: 88.88 kB / 0.8213 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.367e-06/0.5238, allocations: 15.39 kB / 0.8213 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.5238, allocations: 23.78 kB / 0.8213 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.303e-05/0.5239, allocations: 312.3 kB / 0.8216 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.5239, allocations: 6.312 kB / 0.8216 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.537e-05/0.5239, allocations: 22.5 kB / 0.8217 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.478e-05/0.524, allocations: 37.92 kB / 0.8217 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.524, allocations: 3.938 kB / 0.8217 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.777e-05/0.524, allocations: 52.38 kB / 0.8218 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.524, allocations: 6.625 kB / 0.8218 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.5241, allocations: 8.016 kB / 0.8218 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.5241, allocations: 0 / 0.8218 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.765e-05/0.5241, allocations: 12.2 kB / 0.8218 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5241, allocations: 2.609 kB / 0.8218 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.5241, allocations: 8 kB / 0.8218 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.5241, allocations: 2.188 kB / 0.8218 GB, free: 13.96 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.367e-05/0.5242, allocations: 114.3 kB / 0.8219 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.5242, allocations: 4.547 kB / 0.8219 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.5243, allocations: 59.36 kB / 0.822 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5243, allocations: 4.656 kB / 0.822 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5243, allocations: 4 kB / 0.822 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5243, allocations: 0.7969 kB / 0.822 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.5244, allocations: 142.2 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5244, allocations: 3.938 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.5245, allocations: 6.078 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.5245, allocations: 0.6562 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.5245, allocations: 1.5 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.5245, allocations: 0 / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5245, allocations: 1.172 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.626e-05/0.5246, allocations: 153.1 kB / 0.8223 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.5246, allocations: 8.641 kB / 0.8223 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.5246, allocations: 0 / 0.8223 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.473e-05/0.5246, allocations: 0 / 0.8223 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.5246, allocations: 2.156 kB / 0.8223 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.5246, allocations: 1.906 kB / 0.8223 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.492e-05/0.5246, allocations: 80.12 kB / 0.8224 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5246, allocations: 0 / 0.8224 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001755/0.5248, allocations: 21.69 kB / 0.8224 GB, free: 13.38 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.0003286/0.5251, allocations: 0.7037 MB / 0.8231 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.264e-05/0.5252, allocations: 29.72 kB / 0.8231 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5252, allocations: 0 / 0.8231 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/0.5252, allocations: 13.5 kB / 0.8231 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.5254, allocations: 0.6562 kB / 0.8231 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.5257, allocations: 161.2 kB / 0.8233 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.394e-05/0.5258, allocations: 58.75 kB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.779e-05/0.5258, allocations: 11.11 kB / 0.8233 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.5258, allocations: 11.12 kB / 0.8233 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.5258, allocations: 3.938 kB / 0.8233 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.5399, allocations: 1.891 MB / 0.8252 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.542, allocations: 1.719 kB / 0.8252 GB, free: 11.58 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.462415415793657] Failed to read output from testmodel.py, exit status != 0: 7.616716673132032 7.62831142 7.10387289 Calling exit ...