Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.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.001319/0.001319, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001418/0.001418, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.477/1.477, allocations: 177.2 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.178/1.178, allocations: 154.5 MB / 413.7 MB, free: 5.305 MB / 382.1 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 178] 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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 0 / 0.6185 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/3.061e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001782/0.001813, allocations: 0.6344 MB / 0.6192 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.00359, allocations: 1.209 MB / 0.6203 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.00364, allocations: 3.938 kB / 0.6203 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.003669, allocations: 3.938 kB / 0.6203 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.413e-05/0.003743, allocations: 15.92 kB / 0.6204 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006597/0.004403, allocations: 209.3 kB / 0.6206 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.004676, allocations: 175.7 kB / 0.6207 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.765e-05/0.004763, allocations: 11.98 kB / 0.6207 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.004921, allocations: 99.86 kB / 0.6208 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.005068, allocations: 51.84 kB / 0.6209 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.00511, allocations: 20 kB / 0.6209 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.201e-05/0.005192, allocations: 27.98 kB / 0.6209 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.005219, allocations: 15.91 kB / 0.6209 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.339e-05/0.005302, allocations: 43.97 kB / 0.621 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.005578, allocations: 191.5 kB / 0.6212 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.005582, allocations: 0 / 0.6212 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.005583, allocations: 0 / 0.6212 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.005588, allocations: 0 / 0.6212 GB, free: 1.938 MB / 0.5294 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.0005648/0.006152, allocations: 357.5 kB / 0.6215 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.006192, allocations: 13.47 kB / 0.6215 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.006258, allocations: 8.891 kB / 0.6215 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.006375, allocations: 121.7 kB / 0.6216 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.006395, allocations: 8.375 kB / 0.6216 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.006436, allocations: 8.375 kB / 0.6217 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.00655, allocations: 50.23 kB / 0.6217 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.006558, allocations: 192 / 0.6217 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.006571, allocations: 4.375 kB / 0.6217 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.006577, allocations: 4.359 kB / 0.6217 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.209e-05/0.00663, allocations: 23.86 kB / 0.6217 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.007088, allocations: 268.5 kB / 0.622 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.275e-05/0.007181, allocations: 34.58 kB / 0.622 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.007215, allocations: 20.94 kB / 0.622 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.007226, allocations: 0 / 0.622 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.00741, allocations: 87.25 kB / 0.6221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.007411, allocations: 0 / 0.6221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0002696/0.007681, allocations: 113.6 kB / 0.6222 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.007736, allocations: 51.41 kB / 0.6223 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.007851, allocations: 129.7 kB / 0.6224 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.007887, allocations: 33.64 kB / 0.6224 GB, free: 476 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.007974, allocations: 92.09 kB / 0.6225 GB, free: 380 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.007997, allocations: 23.83 kB / 0.6226 GB, free: 356 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-05/0.008091, allocations: 49.69 kB / 0.6226 GB, free: 300 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000241/0.008332, allocations: 318.8 kB / 0.6229 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.008567, allocations: 119.4 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.008785, allocations: 151.7 kB / 0.6232 GB, free: 15.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.009066, allocations: 159.6 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.00907, allocations: 4 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004896/0.009559, allocations: 324.3 kB / 0.6236 GB, free: 15.13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.507e-05/0.009624, allocations: 71.39 kB / 0.6237 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.009629, allocations: 0 / 0.6237 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.009644, allocations: 0 / 0.6237 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.62e-05/0.00967, allocations: 11.92 kB / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.009676, allocations: 0 / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.01002, allocations: 51.89 kB / 0.6238 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.01006, allocations: 20.09 kB / 0.6238 GB, free: 14.97 MB / 0.545 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,xor1.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.0001194/0.01018, allocations: 125.2 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.01019, allocations: 7.891 kB / 0.6239 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.01022, allocations: 12.44 kB / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01022, allocations: 480 / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01023, allocations: 0 / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01023, allocations: 0 / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.01036, allocations: 129.3 kB / 0.624 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.01036, allocations: 0 / 0.624 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.203e-05/0.01037, allocations: 7.875 kB / 0.624 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.01037, allocations: 11.94 kB / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.01038, allocations: 0 / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01038, allocations: 0 / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01038, allocations: 0 / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.01055, allocations: 109.1 kB / 0.6242 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.01056, allocations: 4 kB / 0.6242 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.01058, allocations: 3.938 kB / 0.6242 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.498e-05/0.0106, allocations: 7.984 kB / 0.6242 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.01064, allocations: 4 kB / 0.6242 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.01065, allocations: 7.938 kB / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.759e-05/0.01071, allocations: 91.27 kB / 0.6243 GB, free: 14.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01071, allocations: 4 kB / 0.6243 GB, free: 14.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002376/0.01095, allocations: 31.94 kB / 0.6243 GB, free: 14.36 MB / 0.545 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,xor1.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.0001963/0.01114, allocations: 109.4 kB / 0.6244 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004478/0.01159, allocations: 282.1 kB / 0.6247 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01159, allocations: 0 / 0.6247 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.095e-05/0.01164, allocations: 24 kB / 0.6247 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.01187, allocations: 16.23 kB / 0.6247 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.01224, allocations: 157.4 kB / 0.6249 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.406e-05/0.01232, allocations: 71.33 kB / 0.6249 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.43e-05/0.01236, allocations: 4 kB / 0.6249 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.01238, allocations: 12.5 kB / 0.625 GB, free: 13.61 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01238, allocations: 3.938 kB / 0.625 GB, free: 13.61 MB / 0.545 GB Notification: Performance of Templates: time 0.005446/0.01783, allocations: 2.058 MB / 0.627 GB, free: 11.61 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.769486710429192] Failed to read output from testmodel.py, exit status != 0: 0.02664251998066902 0.041907554 0.033088793000000005 Calling exit ...