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.0007704/0.0007704, allocations: 80.53 kB / 19.93 MB, free: 4.605 MB / 18.57 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.0007575/0.0007575, allocations: 181.2 kB / 23.22 MB, free: 1.316 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.843/0.843, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.6828/0.6828, allocations: 154.6 MB / 414.5 MB, free: 0.8125 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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6194 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.52e-05, allocations: 6.281 kB / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001273/0.001288, allocations: 0.6543 MB / 0.62 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006804/0.001969, allocations: 0.8393 MB / 0.6209 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.001996, allocations: 4 kB / 0.6209 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.259e-05/0.002019, allocations: 0 / 0.6209 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.002071, allocations: 11.92 kB / 0.6209 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.002229, allocations: 7.984 kB / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.004e-05/0.002289, allocations: 31.86 kB / 0.6209 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.002376, allocations: 0 / 0.6209 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.795e-05/0.002444, allocations: 15.98 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.968e-05/0.002473, allocations: 7.984 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.002487, allocations: 4 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-05/0.002525, allocations: 4 kB / 0.6209 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.002538, allocations: 7.984 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.002554, allocations: 11.94 kB / 0.621 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.872e-05/0.002653, allocations: 31.83 kB / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002654, allocations: 0 / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002655, allocations: 4 kB / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.002659, allocations: 0 / 0.621 GB, free: 11.48 MB / 0.5886 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.00031/0.002969, allocations: 254.4 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.003002, allocations: 12.03 kB / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.003066, allocations: 4.891 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.798e-05/0.003134, allocations: 109.7 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.003144, allocations: 4.312 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.003151, allocations: 8.375 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.003262, allocations: 46.23 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.003271, allocations: 192 / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.00328, allocations: 4.375 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.003284, allocations: 384 / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.629e-05/0.00337, allocations: 43.83 kB / 0.6215 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.003598, allocations: 184.6 kB / 0.6216 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.311e-05/0.003671, allocations: 42.59 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.377e-05/0.003715, allocations: 28.84 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.003731, allocations: 0 / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.003747, allocations: 34.55 kB / 0.6217 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 5.51e-07/0.003748, allocations: 0 / 0.6217 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002021/0.00395, allocations: 89.52 kB / 0.6218 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.003975, allocations: 55.53 kB / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.733e-05/0.004022, allocations: 97.84 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.004031, allocations: 25.7 kB / 0.622 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.00406, allocations: 92.09 kB / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.004074, allocations: 7.938 kB / 0.6221 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.004096, allocations: 13.72 kB / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.466e-05/0.004161, allocations: 314.8 kB / 0.6224 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.04e-05/0.004201, allocations: 15.97 kB / 0.6224 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.552e-05/0.004237, allocations: 19.98 kB / 0.6224 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.416e-05/0.004311, allocations: 36.89 kB / 0.6225 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.004312, allocations: 3.938 kB / 0.6225 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.219e-05/0.004404, allocations: 65.66 kB / 0.6225 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.004414, allocations: 4 kB / 0.6225 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.004418, allocations: 7.938 kB / 0.6226 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.004428, allocations: 0 / 0.6226 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.484e-05/0.004482, allocations: 12.02 kB / 0.6226 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.004486, allocations: 0 / 0.6226 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.004507, allocations: 4 kB / 0.6226 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.004513, allocations: 3.984 kB / 0.6226 GB, free: 9.688 MB / 0.5886 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 4.627e-05/0.004559, allocations: 114.8 kB / 0.6227 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.00457, allocations: 0 / 0.6227 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.004689, allocations: 80.8 kB / 0.6228 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.00469, allocations: 4.031 kB / 0.6228 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.004694, allocations: 0 / 0.6228 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.004696, allocations: 0 / 0.6228 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.81e-05/0.004774, allocations: 105.3 kB / 0.6229 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.004776, allocations: 4 kB / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.0048, allocations: 11.98 kB / 0.6229 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.004801, allocations: 3.938 kB / 0.6229 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.004807, allocations: 0 / 0.6229 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.004808, allocations: 3.938 kB / 0.6229 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004809, allocations: 3.938 kB / 0.6229 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.004924, allocations: 167.5 kB / 0.623 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.004929, allocations: 4 kB / 0.6231 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-06/0.004937, allocations: 0 / 0.6231 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.786e-05/0.004974, allocations: 15.86 kB / 0.6231 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.005001, allocations: 0 / 0.6231 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.005003, allocations: 0 / 0.6231 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.158e-05/0.005024, allocations: 79.28 kB / 0.6231 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005024, allocations: 0 / 0.6231 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001386/0.005163, allocations: 8 kB / 0.6231 GB, free: 9.031 MB / 0.5886 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 6.714e-05/0.00523, allocations: 99.27 kB / 0.6232 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.005344, allocations: 35.97 kB / 0.6233 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.005345, allocations: 0 / 0.6233 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.635e-05/0.005382, allocations: 11.98 kB / 0.6233 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.005568, allocations: 11.98 kB / 0.6233 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.005805, allocations: 142.7 kB / 0.6234 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.315e-05/0.005848, allocations: 59.36 kB / 0.6235 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.005872, allocations: 8.5 kB / 0.6235 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.005872, allocations: 0 / 0.6235 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of Templates: time 0.001225/0.007098, allocations: 0.5704 MB / 0.6241 GB, free: 8.047 MB / 0.5886 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: 4.716377756558359] Failed to read output from testmodel.py, exit status != 0: 0.011159676127135754 0.019324440000000002 0.015066325 Calling exit ...