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.0008922/0.0008922, allocations: 93.06 kB / 19.65 MB, free: 276 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.000904/0.000904, allocations: 173 kB / 23.03 MB, free: 1.543 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.93/0.93, allocations: 177.1 MB / 203.4 MB, free: 5.637 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-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 0.7444/0.7444, allocations: 154.6 MB / 414.5 MB, free: 0.6406 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.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 1.643e-06/1.643e-06, allocations: 0 / 0.5203 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.413e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.062 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.004513/0.004537, allocations: 0.6371 MB / 0.521 GB, free: 1.445 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.005859, allocations: 1.239 MB / 0.5222 GB, free: 200 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.005899, allocations: 4 kB / 0.5222 GB, free: 196 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.00593, allocations: 7.922 kB / 0.5222 GB, free: 188 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.006004, allocations: 14.09 kB / 0.5222 GB, free: 176 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.006543, allocations: 211.4 kB / 0.5224 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.006864, allocations: 172.3 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.006948, allocations: 4.562 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.007065, allocations: 100.8 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.007172, allocations: 51.84 kB / 0.5227 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.007203, allocations: 16 kB / 0.5227 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.457e-05/0.007268, allocations: 24.53 kB / 0.5227 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.00729, allocations: 17.3 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.003072/0.01036, allocations: 47.95 kB / 0.5228 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.01055, allocations: 139.6 kB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.01055, allocations: 0 / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.71e-07/0.01055, allocations: 0.9375 kB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.01056, allocations: 0 / 0.5229 GB, free: 15.41 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.0004511/0.01101, allocations: 465.4 kB / 0.5234 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.01105, allocations: 8.031 kB / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.01111, allocations: 12.89 kB / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.0112, allocations: 120.6 kB / 0.5235 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.01121, allocations: 5.406 kB / 0.5235 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.01124, allocations: 8.375 kB / 0.5235 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.027e-05/0.01133, allocations: 46.19 kB / 0.5236 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.01133, allocations: 0.875 kB / 0.5236 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.01134, allocations: 8.359 kB / 0.5236 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.01135, allocations: 1.656 kB / 0.5236 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.481e-05/0.01138, allocations: 11.92 kB / 0.5236 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.01175, allocations: 331.7 kB / 0.5239 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.253e-05/0.01182, allocations: 39.61 kB / 0.5239 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.01185, allocations: 16.66 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.01185, allocations: 0 / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/0.01197, allocations: 85.55 kB / 0.524 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.01197, allocations: 4.688 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002109/0.01218, allocations: 101.8 kB / 0.5241 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.01221, allocations: 53.47 kB / 0.5242 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.672e-05/0.01231, allocations: 177.9 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.01233, allocations: 33.7 kB / 0.5244 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.01239, allocations: 134.9 kB / 0.5245 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.01241, allocations: 15.91 kB / 0.5245 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.748e-05/0.01248, allocations: 55.34 kB / 0.5246 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.0126, allocations: 0.4895 MB / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.01272, allocations: 107.4 kB / 0.5252 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.01286, allocations: 157.8 kB / 0.5253 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.013, allocations: 168.9 kB / 0.5255 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.013, allocations: 0 / 0.5255 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.004368/0.01737, allocations: 320.2 kB / 0.5258 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.305e-05/0.01741, allocations: 76.45 kB / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.01742, allocations: 80 / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.01743, allocations: 0 / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.799e-05/0.01745, allocations: 4 kB / 0.5259 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.01746, allocations: 3.984 kB / 0.5259 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/0.01789, allocations: 43.89 kB / 0.5259 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.01791, allocations: 13.5 kB / 0.5259 GB, free: 12.02 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 8.681e-05/0.018, allocations: 172.5 kB / 0.5261 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.01801, allocations: 11.89 kB / 0.5261 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/0.01803, allocations: 12.94 kB / 0.5261 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01804, allocations: 0 / 0.5261 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01804, allocations: 1.031 kB / 0.5261 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01804, allocations: 0 / 0.5261 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.525e-05/0.01813, allocations: 125.5 kB / 0.5262 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01813, allocations: 7.984 kB / 0.5262 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-06/0.01814, allocations: 0 / 0.5262 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01814, allocations: 0.625 kB / 0.5262 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.01815, allocations: 7.938 kB / 0.5263 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01815, allocations: 4.5 kB / 0.5263 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01815, allocations: 2.594 kB / 0.5263 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.01827, allocations: 116.3 kB / 0.5264 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.01828, allocations: 3.953 kB / 0.5264 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.0183, allocations: 11.88 kB / 0.5264 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.567e-05/0.01831, allocations: 4.062 kB / 0.5264 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.01835, allocations: 11.98 kB / 0.5264 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.01835, allocations: 0 / 0.5264 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.37e-05/0.01839, allocations: 138.1 kB / 0.5265 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01839, allocations: 0 / 0.5265 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002231/0.01862, allocations: 28 kB / 0.5266 GB, free: 11.32 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.0001029/0.01872, allocations: 103.2 kB / 0.5267 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00027/0.01899, allocations: 279.4 kB / 0.5269 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01899, allocations: 0 / 0.5269 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.814e-05/0.01903, allocations: 31.61 kB / 0.527 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.01923, allocations: 23.75 kB / 0.527 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/0.01951, allocations: 163.6 kB / 0.5271 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.208e-05/0.01954, allocations: 55.36 kB / 0.5272 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.297e-05/0.01956, allocations: 9.391 kB / 0.5272 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.01958, allocations: 12.5 kB / 0.5272 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.01958, allocations: 0 / 0.5272 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.003544/0.02313, allocations: 2.234 MB / 0.5294 GB, free: 8.461 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5203529158607125]