Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.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.0007181/0.0007181, allocations: 96.38 kB / 19.7 MB, free: 448 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.0007396/0.0007396, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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.9155/0.9155, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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.7562/0.7562, allocations: 203.5 MB / 0.5046 GB, free: 10.75 MB / 410.7 MB " [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.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") [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.0009665/0.0009665, allocations: 66.45 kB / 0.719 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5206/0.5216, allocations: 102 MB / 0.8186 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001458/0.523, allocations: 0.6282 MB / 0.8192 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.5242, allocations: 1.207 MB / 0.8204 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.5243, allocations: 1.875 kB / 0.8204 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.5243, allocations: 4.875 kB / 0.8204 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.332e-05/0.5244, allocations: 18.17 kB / 0.8204 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006141/0.525, allocations: 219.5 kB / 0.8206 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.5252, allocations: 165.3 kB / 0.8208 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.5253, allocations: 8.812 kB / 0.8208 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.056e-05/0.5254, allocations: 71.97 kB / 0.8209 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.5255, allocations: 60.67 kB / 0.8209 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.5256, allocations: 13.31 kB / 0.8209 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.977e-05/0.5256, allocations: 28.05 kB / 0.821 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.932e-05/0.5257, allocations: 13.83 kB / 0.821 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.5258, allocations: 52.41 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.526, allocations: 158.2 kB / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.526, allocations: 0 / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.186e-06/0.526, allocations: 0 / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.526, allocations: 0 / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004894/0.5265, allocations: 362.9 kB / 0.8215 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.5266, allocations: 8.625 kB / 0.8215 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.55e-05/0.5266, allocations: 12.53 kB / 0.8215 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.5267, allocations: 119.6 kB / 0.8217 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.5268, allocations: 15.33 kB / 0.8217 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.5268, allocations: 9.703 kB / 0.8217 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.5269, allocations: 43.78 kB / 0.8217 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.5269, allocations: 192 / 0.8217 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.5269, allocations: 12.16 kB / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5269, allocations: 0 / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.771e-05/0.527, allocations: 18.23 kB / 0.8218 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.5274, allocations: 264.6 kB / 0.822 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.337e-05/0.5275, allocations: 33.06 kB / 0.822 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/0.5275, allocations: 18.92 kB / 0.8221 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.5275, allocations: 11.62 kB / 0.8221 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.5277, allocations: 75.75 kB / 0.8221 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.5277, allocations: 0 / 0.8221 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002499/0.5279, allocations: 112.9 kB / 0.8222 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.528, allocations: 54.45 kB / 0.8223 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.488e-05/0.5281, allocations: 119.7 kB / 0.8224 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.5281, allocations: 36.31 kB / 0.8224 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.5282, allocations: 92.53 kB / 0.8225 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.5282, allocations: 15.64 kB / 0.8225 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.959e-05/0.5283, allocations: 49.11 kB / 0.8226 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.5284, allocations: 323.3 kB / 0.8229 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.5285, allocations: 119.9 kB / 0.823 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.5287, allocations: 151.7 kB / 0.8232 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.5288, allocations: 166.9 kB / 0.8233 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5288, allocations: 0 / 0.8233 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003521/0.5292, allocations: 325.8 kB / 0.8236 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/0.5292, allocations: 69.56 kB / 0.8237 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5292, allocations: 0 / 0.8237 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5293, allocations: 2.062 kB / 0.8237 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.556e-05/0.5293, allocations: 7.797 kB / 0.8237 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5293, allocations: 4.625 kB / 0.8237 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.5295, allocations: 61.11 kB / 0.8238 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.5296, allocations: 10.59 kB / 0.8238 GB, free: 13.67 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 9.274e-05/0.5296, allocations: 127.5 kB / 0.8239 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.5297, allocations: 8.453 kB / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.5297, allocations: 9.719 kB / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.5297, allocations: 1.531 kB / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.5297, allocations: 0.9375 kB / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5297, allocations: 480 / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.765e-05/0.5298, allocations: 125.3 kB / 0.824 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.5298, allocations: 0.6875 kB / 0.824 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-06/0.5298, allocations: 5 kB / 0.824 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.5298, allocations: 6.031 kB / 0.8241 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.5298, allocations: 8.938 kB / 0.8241 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5298, allocations: 2.156 kB / 0.8241 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5298, allocations: 0 / 0.8241 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.5299, allocations: 113 kB / 0.8242 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-06/0.5299, allocations: 3.078 kB / 0.8242 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.53, allocations: 2.375 kB / 0.8242 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.53e-05/0.53, allocations: 5.031 kB / 0.8242 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.53, allocations: 5.734 kB / 0.8242 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.53, allocations: 4.656 kB / 0.8242 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.068e-05/0.5301, allocations: 89.44 kB / 0.8243 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5301, allocations: 4 kB / 0.8243 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001687/0.5302, allocations: 31.09 kB / 0.8243 GB, free: 13.21 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000129/0.5304, allocations: 105.6 kB / 0.8244 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.5306, allocations: 279.6 kB / 0.8247 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5306, allocations: 1.312 kB / 0.8247 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/0.5307, allocations: 28.58 kB / 0.8247 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.5309, allocations: 22.41 kB / 0.8247 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.5312, allocations: 177.7 kB / 0.8249 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.041e-05/0.5312, allocations: 71.39 kB / 0.825 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.5313, allocations: 11.25 kB / 0.825 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of SimCode: time 6.32e-07/0.5313, allocations: 0 / 0.825 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of Templates: time 0.003425/0.5347, allocations: 1.404 MB / 0.8263 GB, free: 12.48 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.812743286602199] Failed to read output from testmodel.py, exit status != 0: 0.5405411766842008 0.55121044 0.023073788 Calling exit ...