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.0007301/0.0007301, allocations: 100.4 kB / 19.71 MB, free: 444 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.0007265/0.0007265, allocations: 210.4 kB / 23 MB, free: 2.973 MB / 13.93 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.8389/0.8389, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.724/0.724, allocations: 203.8 MB / 0.5049 GB, free: 10.45 MB / 410.7 MB " [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.0009358/0.0009358, allocations: 61.88 kB / 0.7194 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4228, allocations: 102 MB / 0.819 GB, free: 1.348 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.001236/0.4241, allocations: 0.5972 MB / 0.8196 GB, free: 0.9805 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008719/0.4249, allocations: 1.131 MB / 0.8207 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.425, allocations: 3 kB / 0.8207 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.425, allocations: 3.938 kB / 0.8207 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.544e-05/0.4251, allocations: 13.2 kB / 0.8207 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.4254, allocations: 117.3 kB / 0.8208 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.4255, allocations: 89.06 kB / 0.8209 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.483e-05/0.4256, allocations: 9.203 kB / 0.8209 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.234e-05/0.4257, allocations: 30.11 kB / 0.821 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.4258, allocations: 31.83 kB / 0.821 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.4258, allocations: 5.656 kB / 0.821 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.892e-05/0.4258, allocations: 20.69 kB / 0.821 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.4258, allocations: 7.562 kB / 0.821 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.4259, allocations: 29.83 kB / 0.8211 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.426, allocations: 76.8 kB / 0.8211 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.426, allocations: 3.938 kB / 0.8211 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.403e-06/0.426, allocations: 1.312 kB / 0.8211 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.426, allocations: 0 / 0.8211 GB, free: 15.98 MB / 0.6198 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.0003464/0.4264, allocations: 298.9 kB / 0.8214 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.4264, allocations: 8.984 kB / 0.8214 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.4265, allocations: 9.922 kB / 0.8214 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.952e-05/0.4265, allocations: 111.1 kB / 0.8215 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.4266, allocations: 4 kB / 0.8215 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.4266, allocations: 11.09 kB / 0.8216 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.532e-05/0.4266, allocations: 39.66 kB / 0.8216 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.4266, allocations: 192 / 0.8216 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.4267, allocations: 8.641 kB / 0.8216 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.4267, allocations: 5.531 kB / 0.8216 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.046e-05/0.4267, allocations: 10.94 kB / 0.8216 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.427, allocations: 227.3 kB / 0.8218 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.037e-05/0.427, allocations: 17.12 kB / 0.8218 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.427, allocations: 16.5 kB / 0.8219 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.034e-06/0.427, allocations: 0.6562 kB / 0.8219 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.4271, allocations: 56.8 kB / 0.8219 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.4271, allocations: 0.875 kB / 0.8219 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001538/0.4273, allocations: 68.45 kB / 0.822 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.4273, allocations: 53.69 kB / 0.822 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.749e-05/0.4274, allocations: 109.6 kB / 0.8221 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.4274, allocations: 25.7 kB / 0.8222 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.4274, allocations: 88.97 kB / 0.8222 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/0.4274, allocations: 4.703 kB / 0.8223 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.4275, allocations: 29.52 kB / 0.8223 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.4275, allocations: 318.5 kB / 0.8226 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.193e-05/0.4276, allocations: 63.17 kB / 0.8226 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.078e-05/0.4277, allocations: 79.09 kB / 0.8227 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.533e-05/0.4277, allocations: 79.58 kB / 0.8228 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4277, allocations: 0 / 0.8228 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000169/0.4279, allocations: 180.8 kB / 0.823 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.4279, allocations: 40.67 kB / 0.823 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4279, allocations: 2.062 kB / 0.823 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4279, allocations: 0 / 0.823 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.485e-05/0.428, allocations: 6.688 kB / 0.823 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.428, allocations: 0 / 0.823 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.4281, allocations: 32.55 kB / 0.823 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.4281, allocations: 7.266 kB / 0.8231 GB, free: 14.15 MB / 0.6198 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 5.714e-05/0.4282, allocations: 120.2 kB / 0.8232 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.4282, allocations: 0.7031 kB / 0.8232 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.812e-05/0.4282, allocations: 10.86 kB / 0.8232 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4282, allocations: 0 / 0.8232 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4282, allocations: 4 kB / 0.8232 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4282, allocations: 240 / 0.8232 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.975e-05/0.4283, allocations: 106.7 kB / 0.8233 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4283, allocations: 4.547 kB / 0.8233 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-06/0.4283, allocations: 6.359 kB / 0.8233 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.4283, allocations: 0.9219 kB / 0.8233 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.4283, allocations: 0 / 0.8233 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4283, allocations: 4.609 kB / 0.8233 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4283, allocations: 1.719 kB / 0.8233 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.942e-05/0.4283, allocations: 83.31 kB / 0.8234 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.4284, allocations: 11.83 kB / 0.8234 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.4284, allocations: 7.188 kB / 0.8234 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-06/0.4284, allocations: 0 / 0.8234 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.4284, allocations: 1.906 kB / 0.8234 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.4284, allocations: 2.688 kB / 0.8234 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.598e-05/0.4284, allocations: 85.62 kB / 0.8235 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4284, allocations: 0 / 0.8235 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001366/0.4286, allocations: 14.06 kB / 0.8235 GB, free: 13.71 MB / 0.6198 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.77e-05/0.4287, allocations: 101.4 kB / 0.8236 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.4288, allocations: 138.4 kB / 0.8237 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4288, allocations: 5.906 kB / 0.8237 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.025e-05/0.4288, allocations: 7.906 kB / 0.8237 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.429, allocations: 14.38 kB / 0.8238 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.4292, allocations: 145.4 kB / 0.8239 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.393e-05/0.4292, allocations: 68.91 kB / 0.824 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.375e-05/0.4293, allocations: 10.41 kB / 0.824 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.4293, allocations: 0 / 0.824 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.001747/0.431, allocations: 0.8792 MB / 0.8248 GB, free: 13.17 MB / 0.6198 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.194797929842025] Failed to read output from testmodel.py, exit status != 0: 0.4365265150554478 0.44598923700000004 0.018100078000000002 Calling exit ...