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.001818/0.001818, allocations: 88.72 kB / 19.44 MB, free: 356 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.002132/0.002132, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.538/1.538, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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-545:108: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-545:116: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.282/1.282, allocations: 154.6 MB / 414.2 MB, free: 0.6445 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 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.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: Performance of FrontEnd - loaded program: time 2.985e-06/2.985e-06, allocations: 0 / 0.5196 GB, free: 2.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.287e-05/3.586e-05, allocations: 5.75 kB / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002667/0.002703, allocations: 0.6303 MB / 0.5203 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.005314, allocations: 1.213 MB / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.005367, allocations: 0 / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.005403, allocations: 3.938 kB / 0.5214 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.005504, allocations: 19.86 kB / 0.5215 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008998/0.006404, allocations: 208.7 kB / 0.5217 GB, free: 500 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.006762, allocations: 176.5 kB / 0.5218 GB, free: 324 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.006867, allocations: 0 / 0.5218 GB, free: 324 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.007092, allocations: 99.86 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.007279, allocations: 52.88 kB / 0.522 GB, free: 172 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.557e-05/0.007335, allocations: 16 kB / 0.522 GB, free: 156 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.007441, allocations: 24.95 kB / 0.522 GB, free: 132 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.00747, allocations: 11.94 kB / 0.522 GB, free: 120 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.007596, allocations: 47.94 kB / 0.5221 GB, free: 72 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.008011, allocations: 184.2 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.008014, allocations: 0 / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.008016, allocations: 4.969 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.008021, allocations: 0 / 0.5222 GB, free: 15.89 MB / 0.4948 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.0007856/0.008806, allocations: 359.3 kB / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.008849, allocations: 8.031 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.008955, allocations: 16.89 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.009111, allocations: 109.8 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.009136, allocations: 8.375 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.009184, allocations: 8.875 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.009342, allocations: 51.22 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.009352, allocations: 192 / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.009367, allocations: 4.375 kB / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.009374, allocations: 5.578 kB / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.84e-05/0.009443, allocations: 19.92 kB / 0.5228 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006657/0.01011, allocations: 264.5 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.01024, allocations: 39.12 kB / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.01029, allocations: 22.39 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.0103, allocations: 0 / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.01054, allocations: 75.41 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.01055, allocations: 0 / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0004341/0.01098, allocations: 122.5 kB / 0.5233 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.01105, allocations: 51.41 kB / 0.5234 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.01121, allocations: 118.1 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.009e-05/0.01128, allocations: 34.64 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.01165, allocations: 96.08 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.01168, allocations: 13.09 kB / 0.5236 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.01185, allocations: 49.69 kB / 0.5237 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002427/0.01209, allocations: 314.8 kB / 0.524 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.0124, allocations: 124.2 kB / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.01275, allocations: 154.7 kB / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.01311, allocations: 165 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.01312, allocations: 0.6562 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006964/0.01382, allocations: 345.5 kB / 0.5247 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.297e-05/0.01389, allocations: 67.39 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01389, allocations: 3 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.01392, allocations: 7.984 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.244e-05/0.01394, allocations: 4.062 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.01395, allocations: 4.312 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.0143, allocations: 47.94 kB / 0.5248 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.01434, allocations: 16.98 kB / 0.5249 GB, free: 12.94 MB / 0.4948 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 0.0001343/0.01447, allocations: 122.3 kB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.01449, allocations: 11.89 kB / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.01452, allocations: 14.03 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.01452, allocations: 0 / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01453, allocations: 0 / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01453, allocations: 3.984 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.01467, allocations: 122.6 kB / 0.5251 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01467, allocations: 0 / 0.5251 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-06/0.01468, allocations: 0 / 0.5251 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.01468, allocations: 3.938 kB / 0.5251 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.01469, allocations: 6.75 kB / 0.5251 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.01469, allocations: 7.922 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.0147, allocations: 0 / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.01488, allocations: 117 kB / 0.5252 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.01488, allocations: 0 / 0.5252 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.01491, allocations: 7.922 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.037e-05/0.01493, allocations: 4 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.01497, allocations: 10.33 kB / 0.5253 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.01498, allocations: 4 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.036e-05/0.01505, allocations: 87.28 kB / 0.5254 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01505, allocations: 0 / 0.5254 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002609/0.01531, allocations: 35.94 kB / 0.5254 GB, free: 12.34 MB / 0.4948 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.0001688/0.01548, allocations: 104 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004215/0.0159, allocations: 279 kB / 0.5258 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.0159, allocations: 0 / 0.5258 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.885e-05/0.01595, allocations: 20.81 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.01619, allocations: 23.25 kB / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.01657, allocations: 164.6 kB / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.776e-05/0.01665, allocations: 67.34 kB / 0.526 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.494e-05/0.01668, allocations: 4 kB / 0.526 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.0167, allocations: 16.48 kB / 0.526 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of SimCode: time 3.61e-07/0.0167, allocations: 0 / 0.526 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.005394/0.0221, allocations: 2.055 MB / 0.528 GB, free: 9.664 MB / 0.4948 GB " [Timeout remaining time 660] 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: 6.041366818943061]