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.0008502/0.0008502, allocations: 109.3 kB / 18.93 MB, free: 1.266 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.001025/0.001025, allocations: 218.8 kB / 22.26 MB, free: 3.707 MB / 13.93 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.053/1.053, allocations: 230.6 MB / 256 MB, free: 9.824 MB / 202.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.8299/0.8299, allocations: 203.8 MB / 0.5042 GB, free: 10.75 MB / 410.7 MB " [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.00153/0.00153, allocations: 70.77 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5058/0.5073, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001306/0.5086, allocations: 0.6427 MB / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000951/0.5096, allocations: 1.233 MB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.5096, allocations: 1.406 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.5096, allocations: 4.594 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.5097, allocations: 19.72 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.5102, allocations: 218.8 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.5104, allocations: 170.9 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.82e-05/0.5105, allocations: 7.719 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.183e-05/0.5105, allocations: 71.95 kB / 0.8202 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.5107, allocations: 65.17 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.5107, allocations: 18.62 kB / 0.8203 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.452e-05/0.5108, allocations: 33.28 kB / 0.8203 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.5108, allocations: 9.656 kB / 0.8203 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.929e-05/0.5108, allocations: 61.61 kB / 0.8204 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.511, allocations: 149.1 kB / 0.8205 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.511, allocations: 0.6094 kB / 0.8205 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.511, allocations: 3.938 kB / 0.8205 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.511, allocations: 0 / 0.8205 GB, free: 15.62 MB / 0.6198 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.0003988/0.5114, allocations: 362.2 kB / 0.8208 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.5115, allocations: 10.52 kB / 0.8209 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.55e-05/0.5115, allocations: 32.38 kB / 0.8209 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.5115, allocations: 12.73 kB / 0.8209 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.123e-05/0.5116, allocations: 114.9 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.5116, allocations: 10.16 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.5116, allocations: 11.66 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.733e-05/0.5117, allocations: 48.45 kB / 0.8211 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.5117, allocations: 7.938 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.5117, allocations: 8.875 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.5118, allocations: 1.469 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.401e-05/0.5118, allocations: 15.7 kB / 0.8211 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.5122, allocations: 326.5 kB / 0.8214 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.58e-05/0.5122, allocations: 33.41 kB / 0.8215 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/0.5123, allocations: 24.41 kB / 0.8215 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.5123, allocations: 4 kB / 0.8215 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.5124, allocations: 79.28 kB / 0.8216 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.5124, allocations: 0 / 0.8216 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001905/0.5126, allocations: 112.3 kB / 0.8217 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.5126, allocations: 53.41 kB / 0.8217 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.835e-05/0.5127, allocations: 118.9 kB / 0.8218 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.5127, allocations: 30.09 kB / 0.8219 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.5128, allocations: 96.39 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.5128, allocations: 15.95 kB / 0.822 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.5128, allocations: 48.78 kB / 0.822 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.5129, allocations: 318.8 kB / 0.8223 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.275e-05/0.513, allocations: 61.36 kB / 0.8224 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.5131, allocations: 95.88 kB / 0.8225 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.5132, allocations: 166.2 kB / 0.8226 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5132, allocations: 3.938 kB / 0.8226 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00027/0.5135, allocations: 259.5 kB / 0.8229 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.5135, allocations: 72.23 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.5135, allocations: 1.344 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.5135, allocations: 1.344 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-05/0.5136, allocations: 3.297 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.5136, allocations: 2.453 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.5138, allocations: 60.3 kB / 0.823 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.5138, allocations: 12.27 kB / 0.823 GB, free: 13.48 MB / 0.6198 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 6.8e-05/0.5138, allocations: 126.6 kB / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-06/0.5139, allocations: 7.188 kB / 0.8231 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.5139, allocations: 11.11 kB / 0.8232 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.5139, allocations: 5.156 kB / 0.8232 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5139, allocations: 3.938 kB / 0.8232 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5139, allocations: 2.078 kB / 0.8232 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.548e-05/0.514, allocations: 151.1 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.514, allocations: 0 / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-06/0.514, allocations: 5.797 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.514, allocations: 6.359 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.514, allocations: 0 / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.514, allocations: 2.328 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.514, allocations: 0 / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.5141, allocations: 115.4 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.5141, allocations: 2.891 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.5141, allocations: 2.484 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.218e-05/0.5141, allocations: 2.422 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.5142, allocations: 13.52 kB / 0.8235 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.5142, allocations: 12.11 kB / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.209e-05/0.5142, allocations: 89.52 kB / 0.8236 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5142, allocations: 0 / 0.8236 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001585/0.5144, allocations: 32.66 kB / 0.8236 GB, free: 12.97 MB / 0.6198 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.0002911/0.5147, allocations: 0.6519 MB / 0.8242 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003687/0.515, allocations: 218 kB / 0.8244 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.515, allocations: 0 / 0.8244 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.667e-05/0.5151, allocations: 28.56 kB / 0.8245 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.5152, allocations: 19.39 kB / 0.8245 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.5165, allocations: 1.729 MB / 0.8262 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.5167, allocations: 0.6854 MB / 0.8268 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.488e-05/0.5167, allocations: 12.67 kB / 0.8268 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.5167, allocations: 17.47 kB / 0.8269 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.5167, allocations: 0 / 0.8269 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.533, allocations: 3.041 MB / 0.8298 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.668/7.201, allocations: 4.984 kB / 0.8298 GB, free: 9.48 MB / 0.6198 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: 10.457228543004021] Failed to read output from testmodel.py, exit status != 0: 7.283850482897833 7.2953924820000005 6.781817706 Calling exit ...