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: 80.44 kB / 19.91 MB, free: 0 / 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.001043/0.001043, allocations: 169.2 kB / 23.19 MB, free: 1.367 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.9229/0.9229, allocations: 177.2 MB / 203.6 MB, free: 5.77 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-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.745/0.745, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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: 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.001294/0.001294, allocations: 71.89 kB / 0.6196 GB, free: 13.05 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5246/0.5259, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001475/0.5274, allocations: 0.6409 MB / 0.7197 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.5287, allocations: 1.209 MB / 0.7209 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.5287, allocations: 1.031 kB / 0.7209 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.5287, allocations: 4.641 kB / 0.7209 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.047e-05/0.5288, allocations: 15.52 kB / 0.7209 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005416/0.5293, allocations: 220 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.5296, allocations: 168.2 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.5297, allocations: 14.56 kB / 0.7213 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.5298, allocations: 92.02 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.5299, allocations: 57.11 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.53, allocations: 15.12 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-05/0.53, allocations: 35.23 kB / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.5301, allocations: 13.92 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.5301, allocations: 47.72 kB / 0.7216 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.5304, allocations: 189.4 kB / 0.7218 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5304, allocations: 1.125 kB / 0.7218 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.425e-06/0.5304, allocations: 0 / 0.7218 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.5304, allocations: 0 / 0.7218 GB, free: 21.98 MB / 0.6355 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.0004226/0.5308, allocations: 359.5 kB / 0.7221 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.5309, allocations: 7.906 kB / 0.7221 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.5309, allocations: 12.89 kB / 0.7221 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.336e-05/0.531, allocations: 115.6 kB / 0.7222 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.531, allocations: 12.92 kB / 0.7222 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.531, allocations: 10.09 kB / 0.7223 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.5311, allocations: 57.97 kB / 0.7223 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5311, allocations: 192 / 0.7223 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.5311, allocations: 5.156 kB / 0.7223 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5311, allocations: 1.031 kB / 0.7223 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.498e-05/0.5312, allocations: 13.81 kB / 0.7223 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.5316, allocations: 266 kB / 0.7226 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.554e-05/0.5316, allocations: 37.38 kB / 0.7226 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.5317, allocations: 20.03 kB / 0.7226 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.5317, allocations: 4 kB / 0.7226 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.5319, allocations: 79.08 kB / 0.7227 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.5319, allocations: 0 / 0.7227 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002336/0.5321, allocations: 108.3 kB / 0.7228 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.5321, allocations: 54.53 kB / 0.7229 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.987e-05/0.5322, allocations: 120 kB / 0.723 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.5322, allocations: 30.97 kB / 0.723 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.5322, allocations: 93.78 kB / 0.7231 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.5323, allocations: 15.28 kB / 0.7231 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.5323, allocations: 52.23 kB / 0.7232 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.782e-05/0.5324, allocations: 320.3 kB / 0.7235 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.5325, allocations: 116.7 kB / 0.7236 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.5326, allocations: 154.1 kB / 0.7237 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.5327, allocations: 155.9 kB / 0.7239 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5327, allocations: 9.156 kB / 0.7239 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002958/0.533, allocations: 332.4 kB / 0.7242 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.5331, allocations: 63.73 kB / 0.7243 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.5331, allocations: 6.391 kB / 0.7243 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.5331, allocations: 2.25 kB / 0.7243 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-05/0.5331, allocations: 6.375 kB / 0.7243 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.5331, allocations: 1.531 kB / 0.7243 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.5333, allocations: 56.56 kB / 0.7243 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.5334, allocations: 15.55 kB / 0.7244 GB, free: 19.73 MB / 0.6355 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 6.345e-05/0.5334, allocations: 128.1 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.5334, allocations: 11.22 kB / 0.7245 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.5335, allocations: 11.25 kB / 0.7245 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.5335, allocations: 0.5625 kB / 0.7245 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5335, allocations: 0 / 0.7245 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-06/0.5335, allocations: 6.938 kB / 0.7245 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.5335, allocations: 1.719 kB / 0.7245 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.203e-05/0.5335, allocations: 5.922 kB / 0.7245 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.5335, allocations: 14.59 kB / 0.7245 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.339e-05/0.5336, allocations: 154.4 kB / 0.7247 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000102/0.5337, allocations: 263.1 kB / 0.7249 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.869e-05/0.5338, allocations: 19.45 kB / 0.7249 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.703e-05/0.5338, allocations: 90.33 kB / 0.725 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of Backend: time 2.4e-07/0.5338, allocations: 0 / 0.725 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004618/0.5343, allocations: 338.4 kB / 0.7254 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004076/0.5347, allocations: 0.6073 MB / 0.7259 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of Templates: time 0.004292/0.539, allocations: 2.122 MB / 0.728 GB, free: 18.01 MB / 0.6355 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: 4.259706838056445] Failed to read output from testmodel.py, exit status != 0: 0.5461258189752698 0.555047213 0.022706367 Calling exit ...