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.0007315/0.0007315, 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.001378/0.001378, allocations: 223.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.9084/0.9084, allocations: 230.6 MB / 256 MB, free: 9.809 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.7727/0.7727, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.0008965/0.0008965, allocations: 66.12 kB / 0.7182 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4724/0.4733, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001814/0.4751, allocations: 1.307 MB / 0.8191 GB, free: 344 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000724/0.4758, allocations: 0.5999 MB / 0.8197 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.4759, allocations: 0 / 0.8197 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.4759, allocations: 4.594 kB / 0.8197 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.252e-05/0.4759, allocations: 8.594 kB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.4764, allocations: 148.8 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.2e-05/0.4765, allocations: 17.16 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.4765, allocations: 0.75 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.61e-05/0.4766, allocations: 9.656 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.4766, allocations: 10.11 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.4766, allocations: 2.719 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004435/0.4771, allocations: 345.1 kB / 0.8202 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.4771, allocations: 2.328 kB / 0.8202 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.4771, allocations: 11.81 kB / 0.8203 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.4774, allocations: 154.5 kB / 0.8204 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.4774, allocations: 0 / 0.8204 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.346e-06/0.4774, allocations: 0 / 0.8204 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.4774, allocations: 0 / 0.8204 GB, free: 15.67 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.0004403/0.4778, allocations: 283.1 kB / 0.8207 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.4779, allocations: 10.75 kB / 0.8207 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.369e-05/0.4779, allocations: 35.45 kB / 0.8207 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.478, allocations: 3.625 kB / 0.8207 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.386e-05/0.4781, allocations: 108 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4781, allocations: 1.75 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.4781, allocations: 1.719 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.4782, allocations: 46.44 kB / 0.8209 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4782, allocations: 3.938 kB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.4782, allocations: 0 / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4782, allocations: 0.7031 kB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.635e-05/0.4783, allocations: 17.22 kB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.4786, allocations: 230.3 kB / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.4788, allocations: 44.22 kB / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.4788, allocations: 18.66 kB / 0.8212 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.4788, allocations: 4.734 kB / 0.8212 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.4788, allocations: 31.59 kB / 0.8212 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.4788, allocations: 1.406 kB / 0.8212 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001594/0.479, allocations: 65.11 kB / 0.8213 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.479, allocations: 56 kB / 0.8213 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.763e-05/0.4791, allocations: 99.5 kB / 0.8214 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.4791, allocations: 25.7 kB / 0.8214 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.4791, allocations: 88.64 kB / 0.8215 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.4792, allocations: 13.17 kB / 0.8215 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.4792, allocations: 14.06 kB / 0.8216 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.237e-05/0.4793, allocations: 316.5 kB / 0.8219 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.4793, allocations: 14.48 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.374e-05/0.4793, allocations: 23.92 kB / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.4794, allocations: 26.3 kB / 0.8219 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4794, 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.144e-05/0.4794, allocations: 65.28 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.4795, allocations: 4.156 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4795, allocations: 0.7344 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.4795, allocations: 5.438 kB / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.889e-05/0.4795, allocations: 11.44 kB / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.4795, allocations: 0 / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.548e-05/0.4795, allocations: 4 kB / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.4795, allocations: 1.609 kB / 0.822 GB, free: 14.04 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.833e-05/0.4796, allocations: 117.9 kB / 0.8221 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.4796, allocations: 0.6562 kB / 0.8221 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.4797, allocations: 68.73 kB / 0.8222 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.4797, allocations: 0 / 0.8222 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4797, allocations: 0.6562 kB / 0.8222 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4797, allocations: 0 / 0.8222 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.4798, allocations: 136.1 kB / 0.8223 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4798, allocations: 1.406 kB / 0.8223 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.066e-05/0.4799, allocations: 6.469 kB / 0.8223 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.4799, allocations: 1.25 kB / 0.8223 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.4799, allocations: 0 / 0.8223 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4799, allocations: 2.109 kB / 0.8223 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4799, allocations: 0 / 0.8223 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.617e-05/0.48, allocations: 155.5 kB / 0.8225 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.48, allocations: 1.875 kB / 0.8225 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.48, allocations: 5.922 kB / 0.8225 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.532e-05/0.48, allocations: 3.938 kB / 0.8225 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.48, allocations: 6.469 kB / 0.8225 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.48, allocations: 2.188 kB / 0.8225 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.678e-05/0.48, allocations: 79.14 kB / 0.8226 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.48, allocations: 4 kB / 0.8226 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001696/0.4802, allocations: 20.45 kB / 0.8226 GB, free: 13.46 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.0003373/0.4806, allocations: 0.7157 MB / 0.8233 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.779e-05/0.4806, allocations: 18.98 kB / 0.8233 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4806, allocations: 0 / 0.8233 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.185e-05/0.4806, allocations: 11.44 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.0001466/0.4808, allocations: 9.172 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.0003427/0.4811, allocations: 158.3 kB / 0.8235 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.4813, allocations: 0.6794 MB / 0.8242 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.4813, allocations: 4.609 kB / 0.8242 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.4814, allocations: 17.98 kB / 0.8242 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.4814, allocations: 0 / 0.8242 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.4955, allocations: 1.501 MB / 0.8256 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/7.442, allocations: 11.61 kB / 0.8256 GB, free: 11.45 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.219177656108513] Failed to read output from testmodel.py, exit status != 0: 7.519547532079741 7.532275705 7.052006423 Calling exit ...