Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.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.001274/0.001274, allocations: 80.67 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.001386/0.001386, allocations: 167.8 kB / 22.46 MB, free: 5.375 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.408/1.408, 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.203/1.203, 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 0.6188 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.921e-05/4.195e-05, allocations: 10.75 kB / 0.6188 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002117/0.002159, allocations: 0.7522 MB / 0.6196 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.004097, allocations: 1.174 MB / 0.6207 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.004172, allocations: 7.875 kB / 0.6207 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.004204, allocations: 3.938 kB / 0.6207 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.694e-05/0.004301, allocations: 23.8 kB / 0.6207 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.004845, allocations: 139 kB / 0.6209 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.005061, allocations: 123.8 kB / 0.621 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.843e-05/0.005159, allocations: 15.98 kB / 0.621 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.005327, allocations: 79.81 kB / 0.6211 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.005428, allocations: 35.94 kB / 0.6211 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.005463, allocations: 12 kB / 0.6211 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-05/0.005532, allocations: 23.97 kB / 0.6211 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.005561, allocations: 15.94 kB / 0.6212 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.005622, allocations: 35.91 kB / 0.6212 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.005837, allocations: 135.7 kB / 0.6213 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.005841, allocations: 0 / 0.6213 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.587e-06/0.005844, allocations: 4 kB / 0.6213 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.00585, allocations: 0 / 0.6213 GB, free: 1.918 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006858/0.006536, allocations: 351.7 kB / 0.6217 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.006581, allocations: 11.97 kB / 0.6217 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.017e-05/0.006641, allocations: 8.891 kB / 0.6217 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.006782, allocations: 125.7 kB / 0.6218 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.006804, allocations: 4.375 kB / 0.6218 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.006835, allocations: 12.31 kB / 0.6218 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.007117, allocations: 78.19 kB / 0.6219 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.007129, allocations: 4.188 kB / 0.6219 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.007145, allocations: 4.375 kB / 0.6219 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.007151, allocations: 384 / 0.6219 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.007456, allocations: 71.86 kB / 0.622 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.007967, allocations: 244.5 kB / 0.6222 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.008178, allocations: 58.47 kB / 0.6223 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.008337, allocations: 40.92 kB / 0.6223 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.008366, allocations: 4 kB / 0.6223 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003585/0.008724, allocations: 103.2 kB / 0.6224 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.008726, allocations: 0 / 0.6224 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.000629/0.009355, allocations: 165.5 kB / 0.6226 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.009416, allocations: 51.41 kB / 0.6226 GB, free: 476 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.009556, allocations: 129 kB / 0.6227 GB, free: 336 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.009589, allocations: 33.7 kB / 0.6228 GB, free: 296 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.787e-05/0.009677, allocations: 96.06 kB / 0.6229 GB, free: 196 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.0097, allocations: 11.91 kB / 0.6229 GB, free: 184 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.882e-05/0.009779, allocations: 33.7 kB / 0.6229 GB, free: 144 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.009951, allocations: 322.8 kB / 0.6232 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.01023, allocations: 89.66 kB / 0.6233 GB, free: 15.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.01047, allocations: 112.2 kB / 0.6234 GB, free: 15.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.01085, allocations: 148.2 kB / 0.6235 GB, free: 15.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.01086, allocations: 4 kB / 0.6235 GB, free: 15.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005694/0.01143, allocations: 248.8 kB / 0.6238 GB, free: 15.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.01147, allocations: 37.69 kB / 0.6238 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.01148, allocations: 0 / 0.6238 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.0115, allocations: 4 kB / 0.6238 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.01164, allocations: 20.05 kB / 0.6238 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.01164, allocations: 4 kB / 0.6238 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.01187, allocations: 31.95 kB / 0.6239 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.0119, allocations: 11.98 kB / 0.6239 GB, free: 15.06 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001077/0.012, allocations: 123.6 kB / 0.624 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.01202, allocations: 11.89 kB / 0.624 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.01205, allocations: 8.438 kB / 0.624 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01206, allocations: 8 kB / 0.624 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01206, allocations: 0 / 0.624 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.01207, allocations: 3.984 kB / 0.624 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.0122, allocations: 121.6 kB / 0.6241 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.0122, allocations: 0 / 0.6241 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.01231, allocations: 19.98 kB / 0.6242 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01231, allocations: 0 / 0.6242 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.01232, allocations: 7.922 kB / 0.6242 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01232, allocations: 0 / 0.6242 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01233, allocations: 0 / 0.6242 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.01274, allocations: 160.9 kB / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.01275, allocations: 3.953 kB / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.01277, allocations: 3.938 kB / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/0.01285, allocations: 11.98 kB / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.0129, allocations: 11.98 kB / 0.6244 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.01291, allocations: 0 / 0.6244 GB, free: 14.51 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.559e-05/0.01297, allocations: 95.27 kB / 0.6244 GB, free: 14.42 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01297, allocations: 4 kB / 0.6245 GB, free: 14.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002334/0.01321, allocations: 24 kB / 0.6245 GB, free: 14.39 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001797/0.01339, allocations: 99.23 kB / 0.6246 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005411/0.01393, allocations: 204.9 kB / 0.6248 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01393, allocations: 0 / 0.6248 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.0141, allocations: 48.17 kB / 0.6248 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.01433, allocations: 15.92 kB / 0.6248 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.01476, allocations: 164.6 kB / 0.625 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.045e-05/0.01483, allocations: 79.22 kB / 0.6251 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.062e-05/0.01488, allocations: 11.98 kB / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.01491, allocations: 8.5 kB / 0.6251 GB, free: 13.7 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.01491, allocations: 0 / 0.6251 GB, free: 13.7 MB / 0.545 GB Notification: Performance of Templates: time 0.005112/0.02002, allocations: 1.722 MB / 0.6268 GB, free: 12.04 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.687576154246926] Failed to read output from testmodel.py, exit status != 0: 0.028834268450737 0.043235765 0.03432944 Calling exit ...