Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.001189/0.001189, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.001586/0.001586, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9536/0.9536, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7246/0.7246, 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.MultiAnd,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.266e-06/3.266e-06, allocations: 0 / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.981e-05, allocations: 5.672 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001551/0.00158, allocations: 0.7799 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.003117, allocations: 1.513 MB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.644e-05/0.003204, allocations: 3.938 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.003323, allocations: 23.8 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.162e-05/0.003375, allocations: 27.72 kB / 0.6204 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.004405, allocations: 0.5234 MB / 0.6209 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000491/0.004896, allocations: 491.1 kB / 0.6213 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.005042, allocations: 33.59 kB / 0.6214 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.005265, allocations: 259.7 kB / 0.6216 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.005444, allocations: 143.7 kB / 0.6218 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.005495, allocations: 40 kB / 0.6218 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.048e-05/0.005585, allocations: 48 kB / 0.6218 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.005642, allocations: 47.83 kB / 0.6219 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.005752, allocations: 135.8 kB / 0.622 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.006141, allocations: 498.8 kB / 0.6225 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.006144, allocations: 0 / 0.6225 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.423e-06/0.006145, allocations: 0 / 0.6225 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.00615, allocations: 0 / 0.6225 GB, free: 9.203 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005863/0.006737, allocations: 0.5645 MB / 0.623 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.006777, allocations: 13.47 kB / 0.6231 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.006812, allocations: 42.73 kB / 0.6231 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.871e-05/0.006881, allocations: 36.73 kB / 0.6231 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.007143, allocations: 197.5 kB / 0.6233 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.007161, allocations: 16.38 kB / 0.6233 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.007202, allocations: 32.36 kB / 0.6234 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.007397, allocations: 154.7 kB / 0.6235 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.007404, allocations: 4.188 kB / 0.6235 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.007416, allocations: 384 / 0.6235 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.007424, allocations: 8.125 kB / 0.6235 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.007526, allocations: 87.83 kB / 0.6236 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/0.008153, allocations: 0.6087 MB / 0.6242 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.008289, allocations: 82.55 kB / 0.6243 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.00834, allocations: 44.95 kB / 0.6243 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.00835, allocations: 0 / 0.6243 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.008539, allocations: 155.2 kB / 0.6245 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.00854, allocations: 0 / 0.6245 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20): time 0.0003484/0.008889, allocations: 247 kB / 0.6247 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.008923, allocations: 63.34 kB / 0.6248 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.009031, allocations: 183.7 kB / 0.6249 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.00907, allocations: 41.7 kB / 0.625 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.009148, allocations: 128.6 kB / 0.6251 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.009174, allocations: 43.69 kB / 0.6251 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.009292, allocations: 113.6 kB / 0.6253 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.009377, allocations: 326.8 kB / 0.6256 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.00965, allocations: 304.4 kB / 0.6259 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.009945, allocations: 390.7 kB / 0.6262 GB, free: 5.047 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.01026, allocations: 407.5 kB / 0.6266 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.01026, allocations: 4 kB / 0.6266 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007/0.01096, allocations: 0.78 MB / 0.6274 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.267e-05/0.01103, allocations: 156.5 kB / 0.6275 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01104, allocations: 7.938 kB / 0.6275 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01105, allocations: 4 kB / 0.6275 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.656e-05/0.01108, allocations: 19.86 kB / 0.6276 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.01109, allocations: 4 kB / 0.6276 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.01147, allocations: 140 kB / 0.6277 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.01151, allocations: 31.97 kB / 0.6277 GB, free: 3.344 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001248/0.01164, allocations: 168.2 kB / 0.6279 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.01165, allocations: 11.91 kB / 0.6279 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.01168, allocations: 21.8 kB / 0.6279 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01169, allocations: 4 kB / 0.6279 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.01169, allocations: 3.938 kB / 0.6279 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.0117, allocations: 64 / 0.6279 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.01209, allocations: 479.5 kB / 0.6284 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01209, allocations: 0 / 0.6284 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-06/0.0121, allocations: 4 kB / 0.6284 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.0121, allocations: 7.938 kB / 0.6284 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01211, allocations: 8 kB / 0.6284 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01211, allocations: 4.031 kB / 0.6284 GB, free: 2.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01212, allocations: 7.922 kB / 0.6284 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.01231, allocations: 277.8 kB / 0.6287 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.01232, allocations: 19.78 kB / 0.6287 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.01234, allocations: 11.97 kB / 0.6287 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.79e-05/0.01238, allocations: 4 kB / 0.6287 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.01242, allocations: 19.97 kB / 0.6287 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.01243, allocations: 8 kB / 0.6287 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.946e-05/0.01249, allocations: 117.8 kB / 0.6289 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01249, allocations: 4 kB / 0.6289 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002608/0.01275, allocations: 83.98 kB / 0.6289 GB, free: 2.031 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: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000431/0.01318, allocations: 0.8182 MB / 0.6297 GB, free: 1.184 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005811/0.01377, allocations: 0.7043 MB / 0.6304 GB, free: 396 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.01377, allocations: 0.6875 kB / 0.6304 GB, free: 396 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.01384, allocations: 62.16 kB / 0.6305 GB, free: 336 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.01414, allocations: 47.94 kB / 0.6305 GB, free: 288 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.01708, allocations: 3.627 MB / 0.6341 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.152e-05/0.01717, allocations: 120 kB / 0.6342 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.541e-05/0.01722, allocations: 25.47 kB / 0.6342 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.01728, allocations: 56.48 kB / 0.6343 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/0.01728, allocations: 0 / 0.6343 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.03858, allocations: 7.627 MB / 0.6417 GB, free: 4.766 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.081/7.119, allocations: 6.875 kB / 0.6417 GB, free: 4.762 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.051196998916566] Failed to read output from testmodel.py, exit status != 0: 7.208561405539513 7.224420867 7.215575589 Calling exit ...