Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009992/0.0009992, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001227/0.001227, allocations: 173 kB / 23.49 MB, free: 1.055 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.039/1.039, allocations: 177.1 MB / 203.8 MB, free: 5.633 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-535:34: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-535:42: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.8268/0.8268, allocations: 154.8 MB / 415.1 MB, free: 500 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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.487e-06/3.487e-06, allocations: 0 / 0.5206 GB, free: 2.238 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.582e-05, allocations: 6.188 kB / 0.5206 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002128/0.002164, allocations: 0.6381 MB / 0.5212 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.003853, allocations: 1.238 MB / 0.5224 GB, free: 376 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.962e-05/0.003913, allocations: 0 / 0.5224 GB, free: 376 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.003948, allocations: 5.438 kB / 0.5224 GB, free: 372 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.946e-05/0.004048, allocations: 15.91 kB / 0.5224 GB, free: 356 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007021/0.00475, allocations: 213.5 kB / 0.5226 GB, free: 144 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.005041, allocations: 171.7 kB / 0.5228 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.00515, allocations: 4 kB / 0.5228 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.005318, allocations: 97.2 kB / 0.5229 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.005466, allocations: 55.84 kB / 0.523 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.005504, allocations: 16 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.884e-05/0.005593, allocations: 23.98 kB / 0.523 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.005623, allocations: 16.7 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.283e-05/0.005706, allocations: 51.89 kB / 0.5231 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.005961, allocations: 133.3 kB / 0.5232 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.005966, allocations: 0 / 0.5232 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.034e-06/0.005968, allocations: 0 / 0.5232 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.005973, allocations: 0 / 0.5232 GB, free: 15.59 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.0005884/0.006562, allocations: 470.1 kB / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.006611, allocations: 8.031 kB / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.375e-05/0.006695, allocations: 16.83 kB / 0.5237 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.006809, allocations: 120.5 kB / 0.5238 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.006831, allocations: 4.375 kB / 0.5238 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.006862, allocations: 8.375 kB / 0.5238 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.006979, allocations: 42.75 kB / 0.5238 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.006987, allocations: 192 / 0.5238 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.006998, allocations: 5.844 kB / 0.5238 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.007008, allocations: 384 / 0.5238 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.958e-05/0.007047, allocations: 15.92 kB / 0.5239 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.007539, allocations: 328.6 kB / 0.5242 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.59e-05/0.007625, allocations: 39.05 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/0.007652, allocations: 12.66 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-06/0.007659, allocations: 0 / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.007797, allocations: 85 kB / 0.5243 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.824e-06/0.007799, allocations: 4.875 kB / 0.5243 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002494/0.008048, allocations: 101.6 kB / 0.5244 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.008091, allocations: 56.34 kB / 0.5245 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.008201, allocations: 173.9 kB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.008234, allocations: 34.2 kB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.008306, allocations: 138.9 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.008324, allocations: 12.59 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/0.008418, allocations: 59.28 kB / 0.5249 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.008559, allocations: 0.4896 MB / 0.5253 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.008713, allocations: 107.4 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.008879, allocations: 161.8 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.009057, allocations: 160.2 kB / 0.5257 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.00906, allocations: 0 / 0.5257 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005007/0.009561, allocations: 321.9 kB / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-05/0.00962, allocations: 73.11 kB / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.009627, allocations: 0 / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.009643, allocations: 0 / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.525e-05/0.009668, allocations: 8.531 kB / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.009675, allocations: 1.375 kB / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.009939, allocations: 43.91 kB / 0.5262 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.009971, allocations: 14.58 kB / 0.5262 GB, free: 12.21 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.0001157/0.01009, allocations: 166.7 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.01011, allocations: 15.88 kB / 0.5264 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.01014, allocations: 12.44 kB / 0.5264 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01015, allocations: 64 / 0.5264 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.01015, allocations: 4 kB / 0.5264 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01015, allocations: 2.75 kB / 0.5264 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.01027, allocations: 128.6 kB / 0.5265 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01027, allocations: 4 kB / 0.5265 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.01029, allocations: 7.922 kB / 0.5265 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.0103, allocations: 0 / 0.5265 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.01031, allocations: 3.938 kB / 0.5265 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.01031, allocations: 4 kB / 0.5265 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01031, allocations: 1.062 kB / 0.5265 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.01047, allocations: 116.7 kB / 0.5266 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.01049, allocations: 3.953 kB / 0.5266 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.01051, allocations: 17.03 kB / 0.5266 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.339e-05/0.01053, allocations: 0 / 0.5266 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.01058, allocations: 7.984 kB / 0.5267 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.01058, allocations: 1.688 kB / 0.5267 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.105e-05/0.01064, allocations: 135.6 kB / 0.5268 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.01064, allocations: 0 / 0.5268 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002791/0.01092, allocations: 28 kB / 0.5268 GB, free: 11.5 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.0001768/0.0111, allocations: 107.8 kB / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003691/0.01147, allocations: 275.1 kB / 0.5272 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01147, allocations: 0 / 0.5272 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.278e-05/0.01152, allocations: 36.94 kB / 0.5272 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.01179, allocations: 18.42 kB / 0.5272 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.0122, allocations: 162.7 kB / 0.5274 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.448e-05/0.01224, allocations: 55.36 kB / 0.5274 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.584e-05/0.01228, allocations: 11.97 kB / 0.5274 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.01231, allocations: 16.44 kB / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of SimCode: time 1.422e-06/0.01231, allocations: 2.969 kB / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.005442/0.01775, allocations: 2.038 MB / 0.5295 GB, free: 8.805 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9506204838398844]