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.001348/0.001348, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001673/0.001673, allocations: 214.8 kB / 22.25 MB, free: 5.262 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.743/1.743, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 1.343/1.343, allocations: 203.5 MB / 0.5038 GB, free: 4.887 MB / 414.1 MB " [Timeout remaining time 178] 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: 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.002336/0.002336, allocations: 71.91 kB / 0.7183 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6313/0.6337, allocations: 102 MB / 0.8179 GB, free: 29.09 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002046/0.6357, allocations: 0.6459 MB / 0.8185 GB, free: 28.71 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.6376, allocations: 1.204 MB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.087e-05/0.6376, allocations: 5.391 kB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.6377, allocations: 0 / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.317e-05/0.6378, allocations: 13.22 kB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007884/0.6386, allocations: 218.8 kB / 0.8199 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.6389, allocations: 173.8 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.639, allocations: 5.328 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.6391, allocations: 71.14 kB / 0.8201 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.6393, allocations: 57.44 kB / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.6393, allocations: 15.69 kB / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.6394, allocations: 28.62 kB / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.6395, allocations: 9.422 kB / 0.8202 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.788e-05/0.6396, allocations: 56.83 kB / 0.8203 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.6398, allocations: 153.9 kB / 0.8204 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6398, allocations: 0 / 0.8204 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.275e-06/0.6398, allocations: 4.594 kB / 0.8204 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.6398, allocations: 0 / 0.8204 GB, free: 27.52 MB / 0.6387 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.0004977/0.6403, allocations: 358.3 kB / 0.8208 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.6404, allocations: 8.656 kB / 0.8208 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.6404, allocations: 13.72 kB / 0.8208 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.345e-05/0.6405, allocations: 111.5 kB / 0.8209 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.6405, allocations: 10.48 kB / 0.8209 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.6406, allocations: 13.47 kB / 0.8209 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.6407, allocations: 48.53 kB / 0.821 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.6407, allocations: 4.125 kB / 0.821 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.6407, allocations: 6.812 kB / 0.821 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.6407, allocations: 0.6094 kB / 0.821 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.019e-05/0.6408, allocations: 18.45 kB / 0.821 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.6412, allocations: 271.1 kB / 0.8213 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.33e-05/0.6413, allocations: 35.36 kB / 0.8213 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.6413, allocations: 29.19 kB / 0.8213 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.6413, allocations: 0.6562 kB / 0.8213 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.6415, allocations: 83.3 kB / 0.8214 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.6415, allocations: 1.562 kB / 0.8214 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0002715/0.6418, allocations: 114.5 kB / 0.8215 GB, free: 26.58 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.6418, allocations: 53.36 kB / 0.8216 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.941e-05/0.6419, allocations: 116.9 kB / 0.8217 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.642, allocations: 30.67 kB / 0.8217 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.642, allocations: 95.69 kB / 0.8218 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.642, allocations: 15.56 kB / 0.8218 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.6421, allocations: 48.91 kB / 0.8219 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.6422, allocations: 315.6 kB / 0.8222 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.6424, allocations: 120.8 kB / 0.8223 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.6426, allocations: 155.7 kB / 0.8224 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.6428, allocations: 165 kB / 0.8226 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6428, allocations: 3.969 kB / 0.8226 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004718/0.6433, allocations: 333.8 kB / 0.8229 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.739e-05/0.6433, allocations: 71.3 kB / 0.823 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6433, allocations: 2.5 kB / 0.823 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.23e-05/0.6434, allocations: 1.188 kB / 0.823 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.217e-05/0.6434, allocations: 3.672 kB / 0.823 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.6434, allocations: 1.219 kB / 0.823 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.6438, allocations: 59.73 kB / 0.823 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.6438, allocations: 10.77 kB / 0.823 GB, free: 25.29 MB / 0.6387 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.0001328/0.644, allocations: 137.5 kB / 0.8232 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.644, allocations: 7.047 kB / 0.8232 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.644, allocations: 6.109 kB / 0.8232 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.644, allocations: 1.672 kB / 0.8232 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.644, allocations: 1.594 kB / 0.8232 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.644, allocations: 1.391 kB / 0.8232 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.465e-05/0.6441, allocations: 121.3 kB / 0.8233 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.6441, allocations: 128 / 0.8233 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.086e-05/0.6441, allocations: 5.953 kB / 0.8233 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.6441, allocations: 1.219 kB / 0.8233 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.6441, allocations: 6.422 kB / 0.8233 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6441, allocations: 0 / 0.8233 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6441, allocations: 2 kB / 0.8233 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.6443, allocations: 125.3 kB / 0.8234 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.6443, allocations: 7.25 kB / 0.8235 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.6443, allocations: 1.172 kB / 0.8235 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.275e-05/0.6443, allocations: 2.219 kB / 0.8235 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.6444, allocations: 10.47 kB / 0.8235 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.6444, allocations: 7 kB / 0.8235 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.157e-05/0.6445, allocations: 90.69 kB / 0.8236 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6445, allocations: 0 / 0.8236 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002549/0.6447, allocations: 27.34 kB / 0.8236 GB, free: 24.82 MB / 0.6387 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.0001513/0.6449, allocations: 108.6 kB / 0.8237 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003832/0.6452, allocations: 281.8 kB / 0.824 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6452, allocations: 0 / 0.824 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.759e-05/0.6453, allocations: 29.5 kB / 0.824 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.6455, allocations: 27.55 kB / 0.824 GB, free: 24.47 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.6459, allocations: 156.2 kB / 0.8242 GB, free: 24.33 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.173e-05/0.6459, allocations: 68.98 kB / 0.8242 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.931e-05/0.646, allocations: 9.438 kB / 0.8242 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.646, allocations: 10.83 kB / 0.8242 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of SimCode: time 2.8e-07/0.646, allocations: 1.406 kB / 0.8242 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of Templates: time 0.005895/0.6519, allocations: 2.108 MB / 0.8263 GB, free: 24 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.225879559293389] Failed to read output from testmodel.py, exit status != 0: 0.6608481928706169 0.674769868 0.032032762 Calling exit ...