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.0008093/0.0008093, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.0008549/0.0008549, allocations: 162 kB / 22.43 MB, free: 2.145 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.8733/0.8733, allocations: 177.2 MB / 202.8 MB, free: 5.789 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.7006/0.7006, allocations: 155 MB / 414.2 MB, free: 0.5078 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: 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.0009445/0.0009445, allocations: 69.05 kB / 0.6187 GB, free: 13.25 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4157, allocations: 102 MB / 0.7182 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001304/0.417, allocations: 0.6337 MB / 0.7189 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009652/0.418, allocations: 1.218 MB / 0.7201 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.418, allocations: 0 / 0.7201 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.43e-05/0.4181, allocations: 4.5 kB / 0.7201 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.987e-05/0.4181, allocations: 19.45 kB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.4186, allocations: 212.3 kB / 0.7203 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.4188, allocations: 182.3 kB / 0.7205 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.4189, allocations: 9.031 kB / 0.7205 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.419, allocations: 94.48 kB / 0.7206 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.4191, allocations: 57.05 kB / 0.7206 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.4191, allocations: 15.88 kB / 0.7206 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.849e-05/0.4192, allocations: 27.52 kB / 0.7207 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.4192, allocations: 14.53 kB / 0.7207 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.241e-05/0.4193, allocations: 47.06 kB / 0.7207 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.4195, allocations: 192.1 kB / 0.7209 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4195, allocations: 0.5625 kB / 0.7209 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4196, allocations: 4 kB / 0.7209 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4196, allocations: 0 / 0.7209 GB, free: 21.5 MB / 0.6355 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.0003603/0.4199, allocations: 363.4 kB / 0.7212 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.42, allocations: 10.61 kB / 0.7213 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.017e-05/0.42, allocations: 36.64 kB / 0.7213 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.42, allocations: 12.86 kB / 0.7213 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.35e-05/0.4201, allocations: 111.3 kB / 0.7214 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4201, allocations: 9.844 kB / 0.7214 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.4201, allocations: 13.83 kB / 0.7214 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.415e-05/0.4202, allocations: 49.72 kB / 0.7215 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4202, allocations: 5.828 kB / 0.7215 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.4202, allocations: 4 kB / 0.7215 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4202, allocations: 1.125 kB / 0.7215 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.701e-05/0.4203, allocations: 23.08 kB / 0.7215 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.4206, allocations: 296.1 kB / 0.7218 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.849e-05/0.4207, allocations: 30.84 kB / 0.7218 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.413e-05/0.4207, allocations: 20.06 kB / 0.7218 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.4207, allocations: 1.125 kB / 0.7218 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.4209, allocations: 82.84 kB / 0.7219 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/0.4209, allocations: 3.984 kB / 0.7219 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002526/0.4211, allocations: 122.2 kB / 0.722 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.4212, allocations: 53.42 kB / 0.7221 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.351e-05/0.4212, allocations: 119.8 kB / 0.7222 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.4213, allocations: 30.83 kB / 0.7222 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.4213, allocations: 94.3 kB / 0.7223 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.4213, allocations: 18.94 kB / 0.7223 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/0.4214, allocations: 50.2 kB / 0.7224 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.318e-05/0.4214, allocations: 323.1 kB / 0.7227 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.4215, allocations: 116 kB / 0.7228 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.4216, allocations: 155.9 kB / 0.723 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.4218, allocations: 158.7 kB / 0.7231 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4218, allocations: 1 kB / 0.7231 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003191/0.4221, allocations: 325.1 kB / 0.7234 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.4221, allocations: 68.92 kB / 0.7235 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4221, allocations: 1.094 kB / 0.7235 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.4221, allocations: 2.656 kB / 0.7235 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.785e-05/0.4222, allocations: 15.03 kB / 0.7235 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4222, allocations: 2 kB / 0.7235 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.4224, allocations: 52.28 kB / 0.7236 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.4224, allocations: 15.3 kB / 0.7236 GB, free: 19.16 MB / 0.6355 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 5.536e-05/0.4224, allocations: 125.4 kB / 0.7237 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.4224, allocations: 7.328 kB / 0.7237 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.4225, allocations: 10.36 kB / 0.7237 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4225, allocations: 1.125 kB / 0.7237 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4225, allocations: 0 / 0.7237 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4225, allocations: 2.25 kB / 0.7237 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.231e-05/0.4225, allocations: 150.2 kB / 0.7239 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4225, allocations: 0 / 0.7239 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-06/0.4225, allocations: 7.312 kB / 0.7239 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4225, allocations: 4 kB / 0.7239 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.4225, allocations: 2.109 kB / 0.7239 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4225, allocations: 1.219 kB / 0.7239 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4225, allocations: 0 / 0.7239 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.283e-05/0.4226, allocations: 120.1 kB / 0.724 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.4226, allocations: 6.25 kB / 0.724 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.4227, allocations: 2.438 kB / 0.724 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.371e-05/0.4227, allocations: 6.391 kB / 0.724 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.4227, allocations: 5.797 kB / 0.724 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.4227, allocations: 3.688 kB / 0.724 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.039e-05/0.4227, allocations: 88.73 kB / 0.7241 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4227, allocations: 1.25 kB / 0.7241 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001617/0.4229, allocations: 36.12 kB / 0.7241 GB, free: 18.67 MB / 0.6355 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.0002058/0.4231, allocations: 0.6577 MB / 0.7248 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.4233, allocations: 281.8 kB / 0.725 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4233, allocations: 0 / 0.725 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.113e-05/0.4234, allocations: 24.34 kB / 0.7251 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.4235, allocations: 20.91 kB / 0.7251 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.4248, allocations: 1.964 MB / 0.727 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.814e-05/0.4248, allocations: 75.03 kB / 0.7271 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.046e-05/0.4248, allocations: 8.469 kB / 0.7271 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.4249, allocations: 17.38 kB / 0.7271 GB, free: 16.01 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.4249, allocations: 0 / 0.7271 GB, free: 16.01 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.4405, allocations: 3.788 MB / 0.7308 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.562/7.003, allocations: 9.891 kB / 0.7308 GB, free: 14.94 MB / 0.6355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.651524604065344] Failed to read output from testmodel.py, exit status != 0: 7.079937404952943 7.090693143 6.669291209 Calling exit ...