Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001056/0.001056, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0007823/0.0007823, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.8616/0.8616, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.7106/0.7106, allocations: 154.6 MB / 414.5 MB, free: 0.8047 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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.869e-05, allocations: 4.344 kB / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001248/0.001276, allocations: 0.6185 MB / 0.62 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.002406, allocations: 1.221 MB / 0.6211 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.002448, allocations: 0 / 0.6211 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.00248, allocations: 7.922 kB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.033e-05/0.002551, allocations: 15.86 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.003054, allocations: 221.1 kB / 0.6214 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.003234, allocations: 171.7 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.003336, allocations: 15.97 kB / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.003441, allocations: 91.88 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.003541, allocations: 51.84 kB / 0.6217 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.003567, allocations: 16 kB / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.23e-05/0.00363, allocations: 27.98 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.003651, allocations: 7.984 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.003708, allocations: 55.89 kB / 0.6218 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.003903, allocations: 191.5 kB / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003905, allocations: 0 / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.313e-06/0.003907, allocations: 0 / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.003911, allocations: 0 / 0.622 GB, free: 10.45 MB / 0.5886 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.0006825/0.004593, allocations: 353.6 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.004629, allocations: 8.031 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.00468, allocations: 20.86 kB / 0.6223 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.005017, allocations: 113.7 kB / 0.6225 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.005032, allocations: 8.375 kB / 0.6225 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.005052, allocations: 8.375 kB / 0.6225 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.005152, allocations: 54.23 kB / 0.6225 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.00516, allocations: 8.125 kB / 0.6225 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.00517, allocations: 384 / 0.6225 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.005174, allocations: 384 / 0.6225 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.588e-05/0.00521, allocations: 15.94 kB / 0.6225 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.005553, allocations: 272.5 kB / 0.6228 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.569e-05/0.005619, allocations: 34.5 kB / 0.6228 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/0.005641, allocations: 16.94 kB / 0.6229 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.00565, allocations: 4 kB / 0.6229 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.005787, allocations: 79.31 kB / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.005789, allocations: 0 / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.000208/0.005997, allocations: 117.5 kB / 0.623 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.006034, allocations: 55.41 kB / 0.6231 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.917e-05/0.006103, allocations: 117.8 kB / 0.6232 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.006124, allocations: 29.7 kB / 0.6232 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.006171, allocations: 92.09 kB / 0.6233 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.006184, allocations: 19.84 kB / 0.6233 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/0.006243, allocations: 45.69 kB / 0.6234 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.301e-05/0.006316, allocations: 323.2 kB / 0.6237 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.006431, allocations: 123.4 kB / 0.6238 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.006546, allocations: 159.5 kB / 0.624 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.00667, allocations: 167.6 kB / 0.6241 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.006672, allocations: 0 / 0.6241 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002855/0.006958, allocations: 332.2 kB / 0.6244 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.007002, allocations: 67.39 kB / 0.6245 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.007007, allocations: 0 / 0.6245 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.00702, allocations: 4 kB / 0.6245 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.675e-05/0.007037, allocations: 4.125 kB / 0.6245 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.007043, allocations: 4 kB / 0.6245 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.007228, allocations: 48 kB / 0.6246 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.00725, allocations: 19.98 kB / 0.6246 GB, free: 7.484 MB / 0.5886 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 7.3e-05/0.007323, allocations: 122.8 kB / 0.6247 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.007334, allocations: 15.88 kB / 0.6247 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.007357, allocations: 12.44 kB / 0.6247 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.007359, allocations: 3.938 kB / 0.6247 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.007363, allocations: 0 / 0.6247 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.007366, allocations: 4 kB / 0.6247 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.576e-05/0.007442, allocations: 109.3 kB / 0.6248 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.007443, allocations: 0 / 0.6248 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.634e-06/0.007451, allocations: 11.98 kB / 0.6249 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.007453, allocations: 3.938 kB / 0.6249 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.007459, allocations: 0 / 0.6249 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-07/0.007459, allocations: 0 / 0.6249 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.00746, allocations: 0 / 0.6249 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.007564, allocations: 121 kB / 0.625 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.007571, allocations: 0 / 0.625 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.007583, allocations: 7.938 kB / 0.625 GB, free: 7.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.575e-05/0.007598, allocations: 96 / 0.625 GB, free: 7.02 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.007638, allocations: 15.92 kB / 0.625 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.007644, allocations: 0 / 0.625 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.427e-05/0.007678, allocations: 91.27 kB / 0.6251 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007678, allocations: 0 / 0.6251 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001632/0.007842, allocations: 35.89 kB / 0.6251 GB, free: 6.879 MB / 0.5886 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.0001361/0.007978, allocations: 111.2 kB / 0.6252 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.008233, allocations: 274.1 kB / 0.6255 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008234, allocations: 0 / 0.6255 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.008273, allocations: 31.92 kB / 0.6255 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.008457, allocations: 11.98 kB / 0.6255 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.008744, allocations: 183.8 kB / 0.6257 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.008789, allocations: 75.58 kB / 0.6258 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.008811, allocations: 12.5 kB / 0.6258 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of SimCode: time 4.41e-07/0.008811, allocations: 0 / 0.6258 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of Templates: time 0.002207/0.01102, allocations: 1.427 MB / 0.6272 GB, free: 4.688 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.911882414482534] Failed to read output from testmodel.py, exit status != 0: 0.01643945835530758 0.024854687 0.019315452 Calling exit ...