Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.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.0008106/0.0008106, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.0007939/0.0007939, allocations: 162.3 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.8408/0.8408, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.701/0.701, allocations: 155 MB / 414.2 MB, free: 472 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.Log,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",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.0009914/0.0009914, allocations: 64.97 kB / 0.6187 GB, free: 13.16 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.4703/0.4713, allocations: 102 MB / 0.7183 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.001334/0.4726, allocations: 0.6467 MB / 0.7189 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007015/0.4733, allocations: 0.8424 MB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.4734, allocations: 7.938 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.4734, allocations: 1.672 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.724e-05/0.4735, allocations: 3.938 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.4736, allocations: 10.25 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.569e-05/0.4737, allocations: 24.66 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.023e-05/0.4738, allocations: 7.125 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.112e-05/0.4739, allocations: 11.75 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.706e-05/0.4739, allocations: 12.86 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.4739, allocations: 2.312 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.776e-05/0.474, allocations: 5.016 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.474, allocations: 5.406 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.474, allocations: 10.86 kB / 0.7199 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.4741, allocations: 36.8 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4741, allocations: 0 / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4741, allocations: 0 / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.4741, allocations: 0 / 0.7199 GB, free: 22.04 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003026/0.4744, allocations: 262.3 kB / 0.7202 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4745, allocations: 10.16 kB / 0.7202 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.238e-05/0.4745, allocations: 32.95 kB / 0.7202 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.4745, allocations: 7.484 kB / 0.7202 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.564e-05/0.4746, allocations: 118.2 kB / 0.7203 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.4746, allocations: 384 / 0.7203 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.4746, allocations: 1.75 kB / 0.7203 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.4747, allocations: 49.25 kB / 0.7204 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4748, allocations: 3.938 kB / 0.7204 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.4748, allocations: 1.406 kB / 0.7204 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4748, allocations: 0 / 0.7204 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.4749, allocations: 32.77 kB / 0.7204 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.4752, allocations: 219.4 kB / 0.7206 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.4753, allocations: 43.22 kB / 0.7206 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.924e-05/0.4754, allocations: 23.31 kB / 0.7207 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.4754, allocations: 2.453 kB / 0.7207 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.4754, allocations: 32.75 kB / 0.7207 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.4754, allocations: 0 / 0.7207 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003039/0.4757, allocations: 82.83 kB / 0.7208 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.4758, allocations: 60.5 kB / 0.7208 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.683e-05/0.4758, allocations: 101.4 kB / 0.7209 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.4758, allocations: 26.41 kB / 0.721 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.5e-05/0.4759, allocations: 90.47 kB / 0.721 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.4759, allocations: 1.859 kB / 0.7211 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.4759, allocations: 12.5 kB / 0.7211 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.476, allocations: 321 kB / 0.7214 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.277e-05/0.4761, allocations: 14.5 kB / 0.7214 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.353e-05/0.4761, allocations: 22.23 kB / 0.7214 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.4762, allocations: 37.86 kB / 0.7214 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4762, allocations: 3.938 kB / 0.7214 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001429/0.4764, allocations: 70.17 kB / 0.7215 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.4764, allocations: 5.969 kB / 0.7215 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4764, allocations: 4.609 kB / 0.7215 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.4764, allocations: 1.188 kB / 0.7215 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.4765, allocations: 8.438 kB / 0.7215 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.4765, allocations: 0.7031 kB / 0.7215 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.329e-05/0.4766, allocations: 6.109 kB / 0.7215 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.4766, allocations: 1.219 kB / 0.7215 GB, free: 20.49 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 (2): * Single equations (assignments): 2 * 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.595e-05/0.4766, allocations: 117.7 kB / 0.7217 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.4767, allocations: 1.734 kB / 0.7217 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.4769, allocations: 74.7 kB / 0.7217 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4769, allocations: 1.125 kB / 0.7217 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4769, allocations: 0 / 0.7217 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4769, allocations: 1.844 kB / 0.7217 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.477, allocations: 131.7 kB / 0.7219 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.477, allocations: 0 / 0.7219 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.477, allocations: 10.39 kB / 0.7219 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.477, allocations: 0 / 0.7219 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.4771, allocations: 0 / 0.7219 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4771, allocations: 5.75 kB / 0.7219 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4771, allocations: 0 / 0.7219 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.4772, allocations: 164.2 kB / 0.722 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.4772, allocations: 13.7 kB / 0.722 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.4772, allocations: 1.719 kB / 0.722 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.952e-05/0.4773, allocations: 6.094 kB / 0.722 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.4773, allocations: 5.953 kB / 0.7221 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.4773, allocations: 5.297 kB / 0.7221 GB, free: 20 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.177e-05/0.4773, allocations: 83.98 kB / 0.7221 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4773, allocations: 1.062 kB / 0.7221 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001408/0.4775, allocations: 3.688 kB / 0.7221 GB, free: 19.92 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 (2): * Single equations (assignments): 2 * 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.0002765/0.4777, allocations: 0.6961 MB / 0.7228 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.4779, allocations: 38.38 kB / 0.7229 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4779, allocations: 4.094 kB / 0.7229 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.596e-05/0.4779, allocations: 24.59 kB / 0.7229 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.4782, allocations: 2.828 kB / 0.7229 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.4785, allocations: 132.2 kB / 0.723 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.054e-05/0.4786, allocations: 58.28 kB / 0.7231 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.285e-05/0.4786, allocations: 2.062 kB / 0.7231 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.4786, allocations: 13.94 kB / 0.7231 GB, free: 19 MB / 0.6355 GB Notification: Performance of SimCode: time 5.71e-07/0.4786, allocations: 5.031 kB / 0.7231 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.4926, allocations: 1.939 MB / 0.725 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.51/7.002, allocations: 5.281 kB / 0.725 GB, free: 18.1 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Log.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.554124505957589] Failed to read output from testmodel.py, exit status != 0: 7.077443590154871 7.086717519 6.610685823 Calling exit ...