Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.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.000714/0.000714, allocations: 72.45 kB / 19.9 MB, free: 4 kB / 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.0007264/0.0007264, allocations: 169.9 kB / 23.18 MB, free: 1.371 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.8467/0.8467, allocations: 177.2 MB / 203.6 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.702/0.702, allocations: 155 MB / 415 MB, free: 72 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") [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.0009802/0.0009802, allocations: 67.89 kB / 0.62 GB, free: 12.69 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.439/0.44, allocations: 102 MB / 0.7195 GB, free: 23.44 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001419/0.4414, allocations: 0.654 MB / 0.7202 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007939/0.4422, allocations: 0.8398 MB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/0.4422, allocations: 0 / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.4422, allocations: 0.7031 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.053e-05/0.4423, allocations: 9.031 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.4425, allocations: 17.58 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.088e-05/0.4426, allocations: 24.02 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.493e-05/0.4427, allocations: 7.641 kB / 0.7211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.4427, allocations: 15.66 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.52e-05/0.4428, allocations: 9.188 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.4428, allocations: 1.094 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.131e-05/0.4428, allocations: 5.062 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.4428, allocations: 5.625 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.875e-05/0.4429, allocations: 7.469 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.443, allocations: 31.2 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.443, allocations: 5.578 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.013e-06/0.443, allocations: 0 / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.443, allocations: 3.938 kB / 0.7211 GB, free: 22.32 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.0003385/0.4433, allocations: 264.4 kB / 0.7214 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4434, allocations: 10.12 kB / 0.7214 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.444e-05/0.4434, allocations: 9.062 kB / 0.7214 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.316e-05/0.4435, allocations: 110.1 kB / 0.7215 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.4435, allocations: 4.375 kB / 0.7215 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.4435, allocations: 1.844 kB / 0.7215 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.4437, allocations: 53.77 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.4437, allocations: 192 / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.4437, allocations: 8.734 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4437, allocations: 1.094 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.965e-05/0.4438, allocations: 36.11 kB / 0.7216 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.444, allocations: 187.2 kB / 0.7218 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.913e-05/0.4441, allocations: 35.39 kB / 0.7218 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.4442, allocations: 27.75 kB / 0.7219 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.4442, allocations: 9.172 kB / 0.7219 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.4442, allocations: 32.41 kB / 0.7219 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.903e-06/0.4442, allocations: 0 / 0.7219 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.00024/0.4445, allocations: 84.06 kB / 0.722 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.4445, allocations: 53.09 kB / 0.722 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.809e-05/0.4445, allocations: 101 kB / 0.7221 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-06/0.4445, allocations: 30.92 kB / 0.7221 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.292e-05/0.4446, allocations: 82.11 kB / 0.7222 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.4446, allocations: 4.609 kB / 0.7222 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.4446, allocations: 17.53 kB / 0.7222 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.105e-05/0.4446, allocations: 312.8 kB / 0.7225 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.975e-05/0.4447, allocations: 13.59 kB / 0.7226 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.202e-05/0.4447, allocations: 19.14 kB / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.383e-05/0.4448, allocations: 41.64 kB / 0.7226 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4448, allocations: 4.547 kB / 0.7226 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001091/0.4449, allocations: 69.7 kB / 0.7227 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4449, allocations: 6.375 kB / 0.7227 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.445, allocations: 0 / 0.7227 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.445, allocations: 1.5 kB / 0.7227 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.445, allocations: 8.656 kB / 0.7227 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.445, allocations: 4.641 kB / 0.7227 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.4451, allocations: 14.25 kB / 0.7227 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.4451, allocations: 0.6562 kB / 0.7227 GB, free: 20.84 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 3.833e-05/0.4451, allocations: 117 kB / 0.7228 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.4451, allocations: 5.312 kB / 0.7228 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.4453, allocations: 75.27 kB / 0.7229 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4453, allocations: 1.188 kB / 0.7229 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4453, allocations: 0 / 0.7229 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4453, allocations: 6.141 kB / 0.7229 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.294e-05/0.4453, allocations: 103.3 kB / 0.723 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4454, allocations: 4.594 kB / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.4454, allocations: 8.75 kB / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.4454, allocations: 4.5 kB / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-06/0.4454, allocations: 1.281 kB / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4454, allocations: 0.9844 kB / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4454, allocations: 0 / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.4455, allocations: 167.8 kB / 0.7232 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.4455, allocations: 13.55 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.4455, allocations: 1.609 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.4456, allocations: 9.703 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.4456, allocations: 2.438 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.4456, allocations: 5.734 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.72e-05/0.4456, allocations: 80.08 kB / 0.7233 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4456, allocations: 0 / 0.7233 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001506/0.4458, allocations: 3.281 kB / 0.7233 GB, free: 20.3 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 8.566e-05/0.4459, allocations: 97.56 kB / 0.7234 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.446, allocations: 35.42 kB / 0.7234 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.446, allocations: 0 / 0.7234 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.47e-05/0.4461, allocations: 19.53 kB / 0.7235 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.4463, allocations: 7 kB / 0.7235 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.4465, allocations: 129.8 kB / 0.7236 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.651e-05/0.4466, allocations: 64.59 kB / 0.7236 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.4466, allocations: 9.5 kB / 0.7237 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.4466, allocations: 0 / 0.7237 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.001797/0.4484, allocations: 0.564 MB / 0.7242 GB, free: 19.94 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.315465589985251] Failed to read output from testmodel.py, exit status != 0: 0.4541307259351015 0.46346590299999996 0.018681991000000002 Calling exit ...