Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.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.001419/0.001419, allocations: 78.09 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001616/0.001616, allocations: 165.9 kB / 22.45 MB, free: 5.367 MB / 14.72 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 1.382/1.382, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.206/1.206, allocations: 154.7 MB / 413.9 MB, free: 5.156 MB / 382.1 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 178] 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.Asin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 3.938 kB / 0.6188 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.19e-05, allocations: 7.906 kB / 0.6188 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001642/0.001674, allocations: 0.649 MB / 0.6195 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.002709, allocations: 0.8159 MB / 0.6202 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.899e-05/0.002738, allocations: 0 / 0.6202 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.002764, allocations: 7.938 kB / 0.6203 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.825e-05/0.002822, allocations: 4 kB / 0.6203 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.002975, allocations: 11.94 kB / 0.6203 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.161e-05/0.003037, allocations: 23.92 kB / 0.6203 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.465e-05/0.003112, allocations: 11.98 kB / 0.6203 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.375e-05/0.003175, allocations: 8 kB / 0.6203 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.352e-05/0.003209, allocations: 7.922 kB / 0.6203 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.003223, allocations: 11.98 kB / 0.6203 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.785e-05/0.003261, allocations: 8 kB / 0.6203 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.003271, allocations: 0 / 0.6203 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.003294, allocations: 11.98 kB / 0.6204 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.581e-05/0.00338, allocations: 19.97 kB / 0.6204 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.003382, allocations: 0 / 0.6204 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003382, allocations: 0 / 0.6204 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.003386, allocations: 0 / 0.6204 GB, free: 2.883 MB / 0.5294 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.0004681/0.003854, allocations: 266.2 kB / 0.6206 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.003895, allocations: 12.03 kB / 0.6206 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.888e-05/0.003964, allocations: 8.891 kB / 0.6206 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.004074, allocations: 117.8 kB / 0.6208 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.004086, allocations: 384 / 0.6208 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.004097, allocations: 384 / 0.6208 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.004257, allocations: 54.17 kB / 0.6208 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.004265, allocations: 192 / 0.6208 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.004275, allocations: 4.375 kB / 0.6208 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.00428, allocations: 384 / 0.6208 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.004429, allocations: 31.91 kB / 0.6208 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.00473, allocations: 196.6 kB / 0.621 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.004863, allocations: 38.5 kB / 0.6211 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/0.004951, allocations: 24.91 kB / 0.6211 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.004983, allocations: 0 / 0.6211 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.005026, allocations: 30.56 kB / 0.6211 GB, free: 2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.005027, allocations: 0 / 0.6211 GB, free: 2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000366/0.005393, allocations: 89.58 kB / 0.6212 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.005438, allocations: 51.41 kB / 0.6213 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.005539, allocations: 105.8 kB / 0.6214 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.005557, allocations: 25.7 kB / 0.6214 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.005608, allocations: 80.14 kB / 0.6215 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.005629, allocations: 7.891 kB / 0.6215 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.005665, allocations: 21.66 kB / 0.6215 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.005837, allocations: 318.8 kB / 0.6218 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/0.005918, allocations: 16.11 kB / 0.6218 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.868e-05/0.005987, allocations: 19.98 kB / 0.6218 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.006132, allocations: 40.81 kB / 0.6219 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.006134, allocations: 0 / 0.6219 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001827/0.006317, allocations: 61.62 kB / 0.6219 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.006334, allocations: 9.969 kB / 0.6219 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.006343, allocations: 11.92 kB / 0.6219 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.00636, allocations: 0 / 0.6219 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.003e-05/0.00645, allocations: 7.984 kB / 0.622 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.006455, allocations: 7.938 kB / 0.622 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.006502, allocations: 7.984 kB / 0.622 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-06/0.006506, allocations: 3.938 kB / 0.622 GB, free: 1.07 MB / 0.5294 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 8.86e-05/0.006595, allocations: 111.7 kB / 0.6221 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.006619, allocations: 4 kB / 0.6221 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.006836, allocations: 72.91 kB / 0.6221 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006838, allocations: 0 / 0.6221 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.006842, allocations: 0 / 0.6221 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.006845, allocations: 0 / 0.6221 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.006979, allocations: 105.3 kB / 0.6222 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.00698, allocations: 4 kB / 0.6223 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.663e-05/0.007036, allocations: 7.984 kB / 0.6223 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.007038, allocations: 192 / 0.6223 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.007046, allocations: 0 / 0.6223 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.007049, allocations: 7.969 kB / 0.6223 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.007051, allocations: 4 kB / 0.6223 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.007304, allocations: 167.4 kB / 0.6224 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.007314, allocations: 7.953 kB / 0.6224 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.007325, allocations: 0 / 0.6224 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.007404, allocations: 11.92 kB / 0.6225 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.007454, allocations: 0 / 0.6225 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.007457, allocations: 4 kB / 0.6225 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.261e-05/0.00752, allocations: 87.3 kB / 0.6225 GB, free: 436 kB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.00752, allocations: 4 kB / 0.6225 GB, free: 432 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002099/0.00773, allocations: 4 kB / 0.6225 GB, free: 428 kB / 0.5294 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.0001215/0.007851, allocations: 91.25 kB / 0.6226 GB, free: 324 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.008071, allocations: 35.91 kB / 0.6227 GB, free: 288 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.008073, allocations: 0 / 0.6227 GB, free: 288 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.842e-05/0.008161, allocations: 28.03 kB / 0.6227 GB, free: 260 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.008461, allocations: 0 / 0.6227 GB, free: 260 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.008849, allocations: 112.7 kB / 0.6228 GB, free: 120 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.39e-05/0.008932, allocations: 63.34 kB / 0.6229 GB, free: 36 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.203e-05/0.008954, allocations: 0 / 0.6229 GB, free: 36 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.008985, allocations: 8.5 kB / 0.6229 GB, free: 28 kB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.008985, allocations: 0 / 0.6229 GB, free: 28 kB / 0.5294 GB Notification: Performance of Templates: time 0.003024/0.01201, allocations: 481.7 kB / 0.6233 GB, free: 15.57 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.559682058170438] Failed to read output from testmodel.py, exit status != 0: 0.021049922332167625 0.035933939000000005 0.029489131000000002 Calling exit ...