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.0008201/0.0008201, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.000884/0.000884, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.974/0.974, allocations: 177.1 MB / 202.8 MB, free: 5.746 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-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.7557/0.7557, allocations: 154.6 MB / 413.7 MB, free: 0.8281 MB / 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.866e-06/2.866e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.708e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00148/0.001507, allocations: 0.6302 MB / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.002789, allocations: 1.213 MB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.002833, allocations: 0 / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.002862, allocations: 3.938 kB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.616e-05/0.002928, allocations: 19.86 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.003495, allocations: 225.2 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000191/0.003686, allocations: 175.7 kB / 0.6203 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.003784, allocations: 8 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.003906, allocations: 95.91 kB / 0.6204 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.00402, allocations: 51.84 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.004048, allocations: 16 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.004116, allocations: 35.92 kB / 0.6205 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.004135, allocations: 4 kB / 0.6205 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.004197, allocations: 59.88 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.004392, allocations: 179.6 kB / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.004395, allocations: 3.984 kB / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.613e-06/0.004397, allocations: 0 / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.004402, allocations: 0 / 0.6207 GB, free: 11.03 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.0004242/0.004826, allocations: 353.6 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.004863, allocations: 9.469 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.651e-05/0.004889, allocations: 34.73 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.004936, allocations: 12.89 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.867e-05/0.005015, allocations: 121.7 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.005029, allocations: 8.375 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.005048, allocations: 8.375 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.005155, allocations: 58.17 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.005163, allocations: 192 / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.005172, allocations: 384 / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.005177, allocations: 4.125 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.679e-05/0.005214, allocations: 16 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.005585, allocations: 288 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.013e-05/0.005655, allocations: 38.52 kB / 0.6216 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.005679, allocations: 20.94 kB / 0.6216 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.00569, allocations: 3.938 kB / 0.6216 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.005864, allocations: 83.36 kB / 0.6217 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.005865, allocations: 0 / 0.6217 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.000232/0.006097, allocations: 105.6 kB / 0.6218 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.006134, allocations: 55.39 kB / 0.6219 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.006206, allocations: 125.7 kB / 0.622 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.006228, allocations: 33.7 kB / 0.622 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.006274, allocations: 88.14 kB / 0.6221 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.006288, allocations: 15.88 kB / 0.6221 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.006348, allocations: 53.69 kB / 0.6222 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.622e-05/0.006424, allocations: 318.8 kB / 0.6225 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.006546, allocations: 119.4 kB / 0.6226 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.00667, allocations: 151.7 kB / 0.6227 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.006802, allocations: 163.5 kB / 0.6229 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.006805, allocations: 3.938 kB / 0.6229 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003961/0.007201, allocations: 328.3 kB / 0.6232 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.007244, allocations: 67.39 kB / 0.6233 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.007251, allocations: 4 kB / 0.6233 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.007264, allocations: 3.938 kB / 0.6233 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.075e-05/0.007285, allocations: 7.984 kB / 0.6233 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.007291, allocations: 480 / 0.6233 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.007494, allocations: 55.88 kB / 0.6233 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.007515, allocations: 20.06 kB / 0.6233 GB, free: 7.992 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 8.059e-05/0.007595, allocations: 126.8 kB / 0.6235 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-06/0.007604, allocations: 3.953 kB / 0.6235 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.007632, allocations: 16.38 kB / 0.6235 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.007634, allocations: 0 / 0.6235 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.007639, allocations: 0 / 0.6235 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.007643, allocations: 0 / 0.6235 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.762e-05/0.00774, allocations: 148.6 kB / 0.6236 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.007742, allocations: 0 / 0.6236 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-06/0.007748, allocations: 4.062 kB / 0.6236 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.00775, allocations: 8 kB / 0.6236 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.007757, allocations: 0 / 0.6236 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007758, allocations: 0 / 0.6236 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007759, allocations: 0 / 0.6236 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.007879, allocations: 121.3 kB / 0.6238 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-06/0.007888, allocations: 7.938 kB / 0.6238 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.007901, allocations: 8 kB / 0.6238 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.544e-05/0.007917, allocations: 0 / 0.6238 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.007953, allocations: 7.984 kB / 0.6238 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.007959, allocations: 0 / 0.6238 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.782e-05/0.007997, allocations: 95.2 kB / 0.6239 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.007997, allocations: 4 kB / 0.6239 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001701/0.008167, allocations: 35.94 kB / 0.6239 GB, free: 7.344 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.000333/0.0085, allocations: 0.6476 MB / 0.6245 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.008767, allocations: 290.1 kB / 0.6248 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.008769, allocations: 3.938 kB / 0.6248 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.008803, allocations: 27.92 kB / 0.6248 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.008988, allocations: 20.23 kB / 0.6249 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.01044, allocations: 1.953 MB / 0.6268 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.326e-05/0.01048, allocations: 71.33 kB / 0.6268 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.005e-05/0.01051, allocations: 4 kB / 0.6268 GB, free: 4.074 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.01055, allocations: 20.5 kB / 0.6269 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of SimCode: time 5.82e-07/0.01055, allocations: 0 / 0.6269 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.02958, allocations: 3.77 MB / 0.6305 GB, free: 492 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.854/6.883, allocations: 2.578 kB / 0.6305 GB, free: 492 kB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.837231072597206] Failed to read output from testmodel.py, exit status != 0: 6.96475385595113 6.973454928 6.967340965 Calling exit ...