Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.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.0005783/0.0005783, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007021/0.0007021, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8416/0.8416, allocations: 177.2 MB / 203.6 MB, free: 5.789 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7047/0.7047, allocations: 155 MB / 415 MB, free: 480 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Not,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not") [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.0008757/0.0008757, allocations: 67.89 kB / 0.6199 GB, free: 12.73 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4298/0.4307, allocations: 102 MB / 0.7195 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.001359/0.432, allocations: 0.5969 MB / 0.7201 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.4331, allocations: 1.135 MB / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.696e-05/0.4331, allocations: 0 / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.4331, allocations: 0.7031 kB / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.935e-05/0.4332, allocations: 5.609 kB / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.4336, allocations: 121.4 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.4337, allocations: 88.69 kB / 0.7214 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 7.346e-05/0.4338, allocations: 3.594 kB / 0.7214 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.435e-05/0.4339, allocations: 51.03 kB / 0.7214 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.573e-05/0.4339, allocations: 30.03 kB / 0.7215 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.4339, allocations: 8.438 kB / 0.7215 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.321e-05/0.434, allocations: 20.42 kB / 0.7215 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.434, allocations: 2.453 kB / 0.7215 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.4341, allocations: 34.19 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.4342, allocations: 101 kB / 0.7216 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4342, allocations: 5.156 kB / 0.7216 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4342, allocations: 0 / 0.7216 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.4342, allocations: 0 / 0.7216 GB, free: 22.07 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003036/0.4345, allocations: 303.4 kB / 0.7219 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.4346, allocations: 11.34 kB / 0.7219 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.4346, allocations: 9.5 kB / 0.7219 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.994e-05/0.4346, allocations: 105.4 kB / 0.722 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.4347, allocations: 3.641 kB / 0.722 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.4347, allocations: 5.375 kB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.971e-05/0.4347, allocations: 47.98 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.4348, allocations: 4.188 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.4348, allocations: 3.938 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4348, allocations: 1.859 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.799e-05/0.4348, allocations: 9.75 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.435, allocations: 219.9 kB / 0.7223 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.541e-05/0.4351, allocations: 22.34 kB / 0.7223 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.076e-05/0.4351, allocations: 12.38 kB / 0.7224 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.4351, allocations: 1.094 kB / 0.7224 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.708e-05/0.4352, allocations: 56.72 kB / 0.7224 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.4352, allocations: 0 / 0.7224 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001488/0.4353, allocations: 76.45 kB / 0.7225 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.4353, allocations: 52.94 kB / 0.7225 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.258e-05/0.4354, allocations: 103.7 kB / 0.7226 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.4354, allocations: 31.92 kB / 0.7227 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.406e-05/0.4354, allocations: 84.88 kB / 0.7227 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.155e-06/0.4354, allocations: 8.938 kB / 0.7228 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.4355, allocations: 30.52 kB / 0.7228 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.709e-05/0.4355, allocations: 317.3 kB / 0.7231 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-05/0.4356, allocations: 59.3 kB / 0.7231 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.893e-05/0.4356, allocations: 79.2 kB / 0.7232 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.335e-05/0.4357, allocations: 83.55 kB / 0.7233 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4357, allocations: 1.094 kB / 0.7233 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000161/0.4359, allocations: 183.7 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.4359, allocations: 34.97 kB / 0.7235 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4359, allocations: 1.125 kB / 0.7235 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.4359, allocations: 1.5 kB / 0.7235 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.529e-05/0.4359, allocations: 2.188 kB / 0.7235 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.4359, allocations: 1.062 kB / 0.7235 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.436, allocations: 36.06 kB / 0.7235 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.4361, allocations: 10.52 kB / 0.7236 GB, free: 20.24 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 4.516e-05/0.4361, allocations: 118 kB / 0.7237 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-06/0.4361, allocations: 3.156 kB / 0.7237 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.4361, allocations: 9.812 kB / 0.7237 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4361, allocations: 0 / 0.7237 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4361, allocations: 1.031 kB / 0.7237 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4361, allocations: 3.938 kB / 0.7237 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.622e-05/0.4362, allocations: 105.7 kB / 0.7238 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4362, allocations: 10 kB / 0.7238 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-06/0.4362, allocations: 4.25 kB / 0.7238 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4362, allocations: 1.062 kB / 0.7238 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.4362, allocations: 6.172 kB / 0.7238 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.4362, allocations: 0 / 0.7238 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4362, allocations: 0 / 0.7238 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.415e-05/0.4363, allocations: 77.52 kB / 0.7239 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.4363, allocations: 14.08 kB / 0.7239 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.4363, allocations: 1.062 kB / 0.7239 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.084e-05/0.4363, allocations: 2.125 kB / 0.7239 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.4363, allocations: 2.781 kB / 0.7239 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.4363, allocations: 5 kB / 0.7239 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.741e-05/0.4363, allocations: 84.92 kB / 0.724 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4363, allocations: 1.375 kB / 0.724 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001461/0.4365, allocations: 14.39 kB / 0.724 GB, free: 19.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.118e-05/0.4366, allocations: 101.6 kB / 0.7241 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.4367, allocations: 135.4 kB / 0.7242 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.4367, allocations: 0 / 0.7242 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.116e-05/0.4367, allocations: 8.828 kB / 0.7242 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.4369, allocations: 14.83 kB / 0.7243 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002127/0.4371, allocations: 152.4 kB / 0.7244 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.093e-05/0.4371, allocations: 61.62 kB / 0.7245 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.4371, allocations: 10.59 kB / 0.7245 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of SimCode: time 7.32e-07/0.4371, allocations: 0 / 0.7245 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.001959/0.4391, allocations: 0.8865 MB / 0.7253 GB, free: 19.3 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.434634219156578] Failed to read output from testmodel.py, exit status != 0: 0.4446172690950334 0.45313305800000003 0.017013605 Calling exit ...