Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.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.0007605/0.0007605, allocations: 76.45 kB / 19.91 MB, free: 16 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.000766/0.000766, allocations: 165.9 kB / 23.18 MB, free: 1.387 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.8758/0.8758, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7007/0.7007, allocations: 154.7 MB / 414.7 MB, free: 0.7617 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") [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.0008855/0.0008855, allocations: 68.47 kB / 0.6196 GB, free: 13.07 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.4106/0.4115, allocations: 102 MB / 0.7192 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001285/0.4128, allocations: 0.6526 MB / 0.7198 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006497/0.4134, allocations: 0.8516 MB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.757e-05/0.4134, allocations: 1.125 kB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.4135, allocations: 4.594 kB / 0.7207 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.394e-05/0.4135, allocations: 1.062 kB / 0.7207 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.4137, allocations: 17.52 kB / 0.7207 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.353e-05/0.4138, allocations: 24.39 kB / 0.7207 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.4139, allocations: 8.047 kB / 0.7207 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.079e-05/0.4139, allocations: 15.12 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.548e-05/0.414, allocations: 13.64 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.414, allocations: 1.938 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.098e-05/0.414, allocations: 8.891 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.414, allocations: 5.188 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.841e-05/0.4141, allocations: 11.22 kB / 0.7208 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.679e-05/0.4142, allocations: 24.84 kB / 0.7208 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4142, allocations: 1.281 kB / 0.7208 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4142, allocations: 0 / 0.7208 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.4142, allocations: 0.6094 kB / 0.7208 GB, free: 22.54 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.0003032/0.4145, allocations: 263.6 kB / 0.721 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.4145, allocations: 9.375 kB / 0.721 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.204e-05/0.4146, allocations: 11.84 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.799e-05/0.4146, allocations: 118 kB / 0.7212 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4146, allocations: 1.5 kB / 0.7212 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.4147, allocations: 1.531 kB / 0.7212 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.4148, allocations: 53.77 kB / 0.7212 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4148, allocations: 192 / 0.7212 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.4148, allocations: 4.688 kB / 0.7212 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.4148, allocations: 1 kB / 0.7212 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.454e-05/0.4149, allocations: 32.95 kB / 0.7213 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.4151, allocations: 194.1 kB / 0.7214 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.598e-05/0.4152, allocations: 35.86 kB / 0.7215 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.701e-05/0.4152, allocations: 23.94 kB / 0.7215 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.4153, allocations: 4.547 kB / 0.7215 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.4153, allocations: 32.81 kB / 0.7215 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.4153, allocations: 0 / 0.7215 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002203/0.4155, allocations: 84.25 kB / 0.7216 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/0.4155, allocations: 53.16 kB / 0.7217 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.343e-05/0.4156, allocations: 100.4 kB / 0.7218 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5e-06/0.4156, allocations: 25.7 kB / 0.7218 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.045e-05/0.4156, allocations: 86.25 kB / 0.7219 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.4156, allocations: 9.609 kB / 0.7219 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/0.4156, allocations: 17.61 kB / 0.7219 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.795e-05/0.4156, allocations: 313.3 kB / 0.7222 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.4157, allocations: 22.2 kB / 0.7222 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.904e-05/0.4157, allocations: 13.95 kB / 0.7222 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.923e-05/0.4158, allocations: 37.41 kB / 0.7223 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4158, allocations: 3.938 kB / 0.7223 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001043/0.4159, allocations: 71.16 kB / 0.7223 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.4159, allocations: 9.781 kB / 0.7223 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4159, allocations: 0.6562 kB / 0.7223 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.4159, allocations: 1.094 kB / 0.7223 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.5e-05/0.416, allocations: 12.03 kB / 0.7224 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.416, allocations: 2.109 kB / 0.7224 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.306e-05/0.416, allocations: 5.359 kB / 0.7224 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.416, allocations: 5.031 kB / 0.7224 GB, free: 21.05 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.538e-05/0.4161, allocations: 109.6 kB / 0.7225 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.4161, allocations: 5.219 kB / 0.7225 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.4162, allocations: 79.31 kB / 0.7226 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4162, allocations: 5.578 kB / 0.7226 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.4162, allocations: 4 kB / 0.7226 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4162, allocations: 0.5625 kB / 0.7226 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.326e-05/0.4163, allocations: 100.1 kB / 0.7227 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4163, allocations: 4.453 kB / 0.7227 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.4163, allocations: 9.656 kB / 0.7227 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4163, allocations: 3.938 kB / 0.7227 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.4163, allocations: 1.859 kB / 0.7227 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.4163, allocations: 7.938 kB / 0.7227 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.4163, allocations: 0 / 0.7227 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.4164, allocations: 160.7 kB / 0.7228 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.4164, allocations: 9.609 kB / 0.7228 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-06/0.4164, allocations: 1.125 kB / 0.7228 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.4165, allocations: 5.891 kB / 0.7229 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.4165, allocations: 6.594 kB / 0.7229 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.4165, allocations: 1.094 kB / 0.7229 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.504e-05/0.4165, allocations: 84.5 kB / 0.7229 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4165, allocations: 0 / 0.7229 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001397/0.4167, allocations: 4.312 kB / 0.7229 GB, free: 20.52 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 7.283e-05/0.4167, allocations: 91.67 kB / 0.723 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.4169, allocations: 39.72 kB / 0.7231 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4169, allocations: 0 / 0.7231 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.255e-05/0.4169, allocations: 24.66 kB / 0.7231 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.4171, allocations: 3.312 kB / 0.7231 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/0.4173, allocations: 141.6 kB / 0.7232 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.119e-05/0.4174, allocations: 59.56 kB / 0.7233 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.4174, allocations: 13.75 kB / 0.7233 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of SimCode: time 5.01e-07/0.4174, allocations: 0 / 0.7233 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of Templates: time 0.001399/0.4188, allocations: 0.56 MB / 0.7239 GB, free: 20.15 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.397012398112565] Failed to read output from testmodel.py, exit status != 0: 0.4240241141524166 0.43151138 0.015778673 Calling exit ...