Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.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.0007466/0.0007466, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008779/0.0008779, allocations: 162 kB / 22.43 MB, free: 2.145 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.8831/0.8831, allocations: 177.2 MB / 202.8 MB, free: 5.785 MB / 186.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.703/0.703, allocations: 155 MB / 414.2 MB, free: 500 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Min",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.0009154/0.0009154, allocations: 68.95 kB / 0.6187 GB, free: 13.18 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4007, allocations: 102 MB / 0.7183 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Min): time 0.001362/0.4021, allocations: 0.6842 MB / 0.719 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006115/0.4027, allocations: 0.8339 MB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.318e-05/0.4027, allocations: 1.062 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.4027, allocations: 4.547 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.864e-05/0.4028, allocations: 9.516 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 9.858e-05/0.4029, allocations: 15.08 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.244e-05/0.403, allocations: 38.67 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.4031, allocations: 16.19 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.165e-05/0.4031, allocations: 28.92 kB / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.073e-05/0.4032, allocations: 18.78 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.4032, allocations: 4.375 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-06/0.4032, allocations: 3.469 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.4032, allocations: 7.016 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.4032, allocations: 21.42 kB / 0.72 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.617e-05/0.4033, allocations: 45.55 kB / 0.72 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4033, allocations: 0.75 kB / 0.72 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4033, allocations: 1.125 kB / 0.72 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.4033, allocations: 0 / 0.72 GB, free: 21.96 MB / 0.6355 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.0003504/0.4037, allocations: 295.2 kB / 0.7203 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4037, allocations: 11.22 kB / 0.7203 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.254e-05/0.4037, allocations: 32.5 kB / 0.7203 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.338e-05/0.4038, allocations: 11.27 kB / 0.7203 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.931e-05/0.4038, allocations: 107.2 kB / 0.7204 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.4038, allocations: 5.594 kB / 0.7204 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.4038, allocations: 1.531 kB / 0.7204 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.404, allocations: 77.19 kB / 0.7205 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.404, allocations: 4.5 kB / 0.7205 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.404, allocations: 1.312 kB / 0.7205 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.404, allocations: 0 / 0.7205 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.4042, allocations: 63.48 kB / 0.7206 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.4044, allocations: 231.5 kB / 0.7208 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.4046, allocations: 62.61 kB / 0.7209 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.996e-05/0.4047, allocations: 37.17 kB / 0.7209 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.4047, allocations: 0.5156 kB / 0.7209 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.4047, allocations: 33.48 kB / 0.7209 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.4047, allocations: 0 / 0.7209 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003094/0.405, allocations: 132.2 kB / 0.7211 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/0.405, allocations: 52.56 kB / 0.7211 GB, free: 21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.681e-05/0.4051, allocations: 116.2 kB / 0.7212 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-06/0.4051, allocations: 25.7 kB / 0.7212 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.123e-05/0.4051, allocations: 91.22 kB / 0.7213 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.4051, allocations: 22.84 kB / 0.7214 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.4051, allocations: 12.36 kB / 0.7214 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.743e-05/0.4051, allocations: 322.7 kB / 0.7217 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.398e-05/0.4052, allocations: 35.19 kB / 0.7217 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-05/0.4053, allocations: 31.58 kB / 0.7217 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.4054, allocations: 70.06 kB / 0.7218 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4054, allocations: 0.5156 kB / 0.7218 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001635/0.4056, allocations: 99.5 kB / 0.7219 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.4056, allocations: 4.562 kB / 0.7219 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.4056, allocations: 1.125 kB / 0.7219 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.4056, allocations: 0.7031 kB / 0.7219 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.884e-05/0.4057, allocations: 19.05 kB / 0.7219 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.4057, allocations: 0.5625 kB / 0.7219 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/0.4057, allocations: 15.52 kB / 0.7219 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.4057, allocations: 1.781 kB / 0.7219 GB, free: 20.33 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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 3.673e-05/0.4058, allocations: 117.8 kB / 0.7221 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.4058, allocations: 6.297 kB / 0.7221 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.406, allocations: 105.5 kB / 0.7222 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.406, allocations: 0.7969 kB / 0.7222 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.406, allocations: 0 / 0.7222 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.406, allocations: 5.469 kB / 0.7222 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.478e-05/0.4061, allocations: 132.7 kB / 0.7223 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4061, allocations: 1.469 kB / 0.7223 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.4061, allocations: 15.7 kB / 0.7223 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.4061, allocations: 3.938 kB / 0.7223 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.4061, allocations: 1.094 kB / 0.7223 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4061, allocations: 4 kB / 0.7223 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4061, allocations: 1.922 kB / 0.7223 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.4063, allocations: 202.8 kB / 0.7225 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.4063, allocations: 2.109 kB / 0.7225 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-06/0.4063, allocations: 1.25 kB / 0.7225 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.237e-05/0.4064, allocations: 12.72 kB / 0.7225 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.4064, allocations: 7.625 kB / 0.7225 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.4064, allocations: 1.188 kB / 0.7225 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.883e-05/0.4064, allocations: 87.5 kB / 0.7226 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4064, allocations: 0 / 0.7226 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001371/0.4066, allocations: 9.75 kB / 0.7226 GB, free: 19.75 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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.0002733/0.4068, allocations: 0.7283 MB / 0.7233 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.407, allocations: 70.56 kB / 0.7234 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.407, allocations: 4 kB / 0.7234 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.363e-05/0.4071, allocations: 42.48 kB / 0.7235 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.4073, allocations: 4.375 kB / 0.7235 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.4076, allocations: 157.4 kB / 0.7236 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.015e-05/0.4076, allocations: 65.64 kB / 0.7237 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.91e-05/0.4076, allocations: 5.438 kB / 0.7237 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.4077, allocations: 16.55 kB / 0.7237 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.4077, allocations: 0 / 0.7237 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01482/0.4225, allocations: 2.305 MB / 0.7259 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.499/6.922, allocations: 4.188 kB / 0.7259 GB, free: 17.89 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Min.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.572636222001165] Failed to read output from testmodel.py, exit status != 0: 7.001170128118247 7.012374597 6.607154013 Calling exit ...