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.001848/0.001848, allocations: 85.48 kB / 19.44 MB, free: 344 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.001945/0.001945, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.362/1.362, 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 3.577e-06/3.577e-06, allocations: 0 / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.448e-05/4.806e-05, allocations: 4.422 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002113/0.002161, allocations: 0.647 MB / 0.5203 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.004156, allocations: 1.211 MB / 0.5214 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.004229, allocations: 0 / 0.5214 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.004259, allocations: 5.281 kB / 0.5215 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.762e-05/0.004357, allocations: 15.84 kB / 0.5215 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.005017, allocations: 214 kB / 0.5217 GB, free: 468 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.0053, allocations: 167.7 kB / 0.5218 GB, free: 300 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.005399, allocations: 8 kB / 0.5218 GB, free: 292 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.005569, allocations: 95.86 kB / 0.5219 GB, free: 196 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.005715, allocations: 49.75 kB / 0.522 GB, free: 148 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.005758, allocations: 16 kB / 0.522 GB, free: 132 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-05/0.005851, allocations: 31.92 kB / 0.522 GB, free: 100 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.005879, allocations: 7.984 kB / 0.522 GB, free: 92 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.541e-05/0.005974, allocations: 51.95 kB / 0.5221 GB, free: 40 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.006318, allocations: 185 kB / 0.5223 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.006325, allocations: 3.984 kB / 0.5223 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.823e-06/0.006327, allocations: 0 / 0.5223 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.006332, allocations: 0 / 0.5223 GB, free: 15.86 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.0007177/0.00705, allocations: 464.5 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.007106, allocations: 8.031 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.007184, allocations: 12.89 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.007328, allocations: 117.6 kB / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.007348, allocations: 4.375 kB / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.007383, allocations: 17.31 kB / 0.5229 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.007502, allocations: 46.23 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.007511, allocations: 192 / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.007523, allocations: 4.875 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.007531, allocations: 5.406 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.299e-05/0.007584, allocations: 15.94 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.008148, allocations: 331.7 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.949e-05/0.008248, allocations: 52.12 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.008286, allocations: 19.69 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.008298, allocations: 0 / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.008461, allocations: 90.81 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.008462, allocations: 4 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002977/0.00876, allocations: 109.6 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.008817, allocations: 55.41 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.008978, allocations: 183.7 kB / 0.5237 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.009018, allocations: 33.7 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.009128, allocations: 142.8 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.009158, allocations: 19.89 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.009267, allocations: 55.34 kB / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005505/0.009817, allocations: 0.4939 MB / 0.5245 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.01004, allocations: 131.4 kB / 0.5246 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.01029, allocations: 189.8 kB / 0.5248 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.01056, allocations: 179.9 kB / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01056, allocations: 0 / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006067/0.01117, allocations: 369.2 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.528e-05/0.01124, allocations: 67.39 kB / 0.5253 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.01125, allocations: 0.9375 kB / 0.5253 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.01127, allocations: 4 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.323e-05/0.01129, allocations: 0 / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.0113, allocations: 7.406 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.01162, allocations: 35.95 kB / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.01165, allocations: 16 kB / 0.5254 GB, free: 12.31 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.000168/0.01182, allocations: 172.5 kB / 0.5256 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.01185, allocations: 11.89 kB / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/0.01189, allocations: 11.19 kB / 0.5256 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.0119, allocations: 4 kB / 0.5256 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.0119, allocations: 0 / 0.5256 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.0119, allocations: 0 / 0.5256 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.01207, allocations: 136.5 kB / 0.5257 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01207, allocations: 0 / 0.5257 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-06/0.01208, allocations: 0 / 0.5257 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01208, allocations: 1.312 kB / 0.5257 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.01209, allocations: 7.938 kB / 0.5257 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01209, allocations: 3.938 kB / 0.5257 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.0121, allocations: 3.984 kB / 0.5257 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.0123, allocations: 133.9 kB / 0.5259 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.01232, allocations: 4 kB / 0.5259 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.01233, allocations: 3.938 kB / 0.5259 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.435e-05/0.01236, allocations: 8.047 kB / 0.5259 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.01241, allocations: 9.281 kB / 0.5259 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.01242, allocations: 4 kB / 0.5259 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001088/0.01253, allocations: 139.6 kB / 0.526 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01253, allocations: 0.6562 kB / 0.526 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002529/0.01278, allocations: 35.95 kB / 0.5261 GB, free: 11.57 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.0001898/0.01297, allocations: 100.1 kB / 0.5262 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005167/0.01349, allocations: 336.2 kB / 0.5265 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01349, allocations: 0 / 0.5265 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.282e-05/0.01355, allocations: 35.61 kB / 0.5265 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.01381, allocations: 14.42 kB / 0.5265 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.01424, allocations: 165.4 kB / 0.5267 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.196e-05/0.01432, allocations: 67.34 kB / 0.5268 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.01435, allocations: 10.33 kB / 0.5268 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.01438, allocations: 12.5 kB / 0.5268 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.01438, allocations: 0 / 0.5268 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.006165/0.02055, allocations: 2.054 MB / 0.5288 GB, free: 8.82 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: 6.141566984006204]