Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0007985/0.0007985, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008304/0.0008304, allocations: 217.7 kB / 22.26 MB, free: 3.703 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 0.9896/0.9896, allocations: 230.6 MB / 256 MB, free: 9.797 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03805/0.03805, allocations: 12.18 MB / 324.6 MB, free: 6.254 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0006154/0.0006154, allocations: 23.95 kB / 384.1 MB, free: 10.67 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.657/1.657, allocations: 353.8 MB / 0.7787 GB, free: 3.098 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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: "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001959/0.001959, allocations: 119.5 kB / 1.06 GB, free: 24.98 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2275, allocations: 134.9 MB / 1.192 GB, free: 7.859 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001645/0.2292, allocations: 0.8335 MB / 1.193 GB, free: 7.027 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.2307, allocations: 1.523 MB / 1.194 GB, free: 5.492 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.2307, allocations: 0 / 1.194 GB, free: 5.492 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.2309, allocations: 27.73 kB / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.136e-05/0.2309, allocations: 39.64 kB / 1.194 GB, free: 5.426 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009001/0.2318, allocations: 0.5186 MB / 1.195 GB, free: 4.922 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.2322, allocations: 479.2 kB / 1.195 GB, free: 4.453 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.2324, allocations: 29.67 kB / 1.195 GB, free: 4.418 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.2325, allocations: 187.7 kB / 1.195 GB, free: 4.234 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.2327, allocations: 171.5 kB / 1.195 GB, free: 4.066 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.2327, allocations: 43.98 kB / 1.196 GB, free: 4.023 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.838e-05/0.2328, allocations: 55.98 kB / 1.196 GB, free: 3.969 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.2329, allocations: 43.84 kB / 1.196 GB, free: 3.926 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.233, allocations: 155.5 kB / 1.196 GB, free: 3.773 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.2335, allocations: 415 kB / 1.196 GB, free: 3.367 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2335, allocations: 0 / 1.196 GB, free: 3.367 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2335, allocations: 0 / 1.196 GB, free: 3.367 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.2335, allocations: 7.922 kB / 1.196 GB, free: 3.359 MB / 0.823 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.00059/0.2341, allocations: 0.5723 MB / 1.197 GB, free: 2.723 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.2341, allocations: 8.031 kB / 1.197 GB, free: 2.715 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.2342, allocations: 50.67 kB / 1.197 GB, free: 2.656 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.094e-05/0.2342, allocations: 32.8 kB / 1.197 GB, free: 2.625 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.2345, allocations: 198.3 kB / 1.197 GB, free: 2.406 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.2345, allocations: 16.38 kB / 1.197 GB, free: 2.391 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.2346, allocations: 40.34 kB / 1.197 GB, free: 2.352 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.2348, allocations: 161.9 kB / 1.197 GB, free: 2.184 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.2348, allocations: 7.922 kB / 1.197 GB, free: 2.176 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.2348, allocations: 4 kB / 1.197 GB, free: 2.172 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.2348, allocations: 4 kB / 1.197 GB, free: 2.168 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.2349, allocations: 79.95 kB / 1.197 GB, free: 2.09 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/0.2357, allocations: 0.675 MB / 1.198 GB, free: 1.367 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.2358, allocations: 86.55 kB / 1.198 GB, free: 1.273 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.2359, allocations: 36.83 kB / 1.198 GB, free: 1.234 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.2359, allocations: 0 / 1.198 GB, free: 1.234 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.2361, allocations: 168.3 kB / 1.198 GB, free: 1.059 MB / 0.823 GB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.2361, allocations: 0 / 1.198 GB, free: 1.059 MB / 0.823 GB Notification: Performance of matching and sorting (n=20): time 0.0003322/0.2365, allocations: 243.5 kB / 1.198 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.2365, allocations: 59.39 kB / 1.199 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.2366, allocations: 186.1 kB / 1.199 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.2366, allocations: 41.7 kB / 1.199 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/0.2367, allocations: 128.6 kB / 1.199 GB, free: 388 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.2367, allocations: 39.73 kB / 1.199 GB, free: 348 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.2368, allocations: 117.6 kB / 1.199 GB, free: 224 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/0.2369, allocations: 330.8 kB / 1.199 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.2371, allocations: 160 kB / 1.199 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.2374, allocations: 246 kB / 1.2 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.2377, allocations: 407.7 kB / 1.2 GB, free: 14.99 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2377, allocations: 0 / 1.2 GB, free: 14.99 MB / 0.8387 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006408/0.2383, allocations: 0.6365 MB / 1.201 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 8.349e-05/0.2384, allocations: 164.4 kB / 1.201 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2384, allocations: 0 / 1.201 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.2384, allocations: 4 kB / 1.201 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.642e-05/0.2385, allocations: 15.98 kB / 1.201 GB, free: 14.11 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.2385, allocations: 7.938 kB / 1.201 GB, free: 14.1 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.2388, allocations: 140 kB / 1.201 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.2389, allocations: 31.97 kB / 1.201 GB, free: 13.93 MB / 0.8387 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.0001158/0.239, allocations: 159.1 kB / 1.201 GB, free: 13.77 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.239, allocations: 19.84 kB / 1.201 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.239, allocations: 13.81 kB / 1.201 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.239, allocations: 4 kB / 1.201 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.239, allocations: 0 / 1.201 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.2391, allocations: 3.984 kB / 1.201 GB, free: 13.72 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.2394, allocations: 497 kB / 1.202 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2394, allocations: 96 / 1.202 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.037e-05/0.2394, allocations: 7.938 kB / 1.202 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2394, allocations: 4 kB / 1.202 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.2394, allocations: 11.98 kB / 1.202 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2394, allocations: 3.938 kB / 1.202 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2394, allocations: 0 / 1.202 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.2396, allocations: 284.6 kB / 1.202 GB, free: 12.87 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.2396, allocations: 19.89 kB / 1.202 GB, free: 12.85 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.2397, allocations: 0 / 1.202 GB, free: 12.85 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.032e-05/0.2397, allocations: 8 kB / 1.202 GB, free: 12.84 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.2397, allocations: 19.97 kB / 1.202 GB, free: 12.82 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.2397, allocations: 11.98 kB / 1.202 GB, free: 12.81 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 5.051e-05/0.2398, allocations: 119.2 kB / 1.202 GB, free: 12.69 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2398, allocations: 0 / 1.202 GB, free: 12.69 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002291/0.24, allocations: 79.94 kB / 1.202 GB, free: 12.61 MB / 0.8387 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.0004817/0.2405, allocations: 0.8276 MB / 1.203 GB, free: 11.76 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0004599/0.241, allocations: 0.5453 MB / 1.204 GB, free: 11.16 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.241, allocations: 0 / 1.204 GB, free: 11.16 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.658e-05/0.241, allocations: 67.91 kB / 1.204 GB, free: 11.09 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.2413, allocations: 52.64 kB / 1.204 GB, free: 11.04 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.2437, allocations: 3.019 MB / 1.207 GB, free: 7.836 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.2439, allocations: 0.7242 MB / 1.207 GB, free: 7.086 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.827e-05/0.2439, allocations: 29.45 kB / 1.207 GB, free: 7.059 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.244, allocations: 51.42 kB / 1.207 GB, free: 7.008 MB / 0.8387 GB Notification: Performance of SimCode: time 7.02e-07/0.244, allocations: 0 / 1.207 GB, free: 7.008 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.261, allocations: 6.601 MB / 1.214 GB, free: 0.5977 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.795/7.055, allocations: 7.5 kB / 1.214 GB, free: 0.5938 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.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 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.575062729418278] Failed to read output from testmodel.py, exit status != 0: 7.132637718692422 7.141379421 6.905987151 Calling exit ...