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.0008854/0.0008854, 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.000845/0.000845, allocations: 223.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.9659/0.9659, allocations: 230.6 MB / 256 MB, free: 9.801 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.03844/0.03844, allocations: 12.18 MB / 324.6 MB, free: 6.281 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.0003957/0.0003957, allocations: 23.97 kB / 384.1 MB, free: 10.69 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.759/1.759, 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.001448/0.001448, allocations: 126.1 kB / 1.06 GB, free: 25.08 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2393, allocations: 134.9 MB / 1.192 GB, free: 7.871 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001807/0.2411, allocations: 0.8221 MB / 1.193 GB, free: 7.051 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.2424, allocations: 1.531 MB / 1.194 GB, free: 5.508 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.287e-05/0.2425, allocations: 3.938 kB / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.2426, allocations: 19.8 kB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/0.2426, allocations: 39.72 kB / 1.194 GB, free: 5.445 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008979/0.2435, allocations: 0.51 MB / 1.195 GB, free: 4.949 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.2439, allocations: 487.2 kB / 1.195 GB, free: 4.473 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.244, allocations: 33.66 kB / 1.195 GB, free: 4.434 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.2442, allocations: 183.7 kB / 1.195 GB, free: 4.254 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.2443, allocations: 175.6 kB / 1.195 GB, free: 4.082 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.904e-05/0.2444, allocations: 40 kB / 1.196 GB, free: 4.043 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.973e-05/0.2445, allocations: 55.98 kB / 1.196 GB, free: 3.988 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.2445, allocations: 43.84 kB / 1.196 GB, free: 3.945 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.2447, allocations: 159.5 kB / 1.196 GB, free: 3.789 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.2449, allocations: 419 kB / 1.196 GB, free: 3.379 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.245, allocations: 4 kB / 1.196 GB, free: 3.375 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.124e-06/0.245, allocations: 7.875 kB / 1.196 GB, free: 3.367 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.245, allocations: 0 / 1.196 GB, free: 3.367 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.0005818/0.2455, allocations: 0.5684 MB / 1.197 GB, free: 2.734 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2456, allocations: 8.031 kB / 1.197 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.2456, allocations: 42.73 kB / 1.197 GB, free: 2.676 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.229e-05/0.2457, allocations: 36.78 kB / 1.197 GB, free: 2.641 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.2459, allocations: 206.2 kB / 1.197 GB, free: 2.414 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.2459, allocations: 20.36 kB / 1.197 GB, free: 2.395 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.2459, allocations: 28.38 kB / 1.197 GB, free: 2.367 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.2462, allocations: 158 kB / 1.197 GB, free: 2.203 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2462, allocations: 7.938 kB / 1.197 GB, free: 2.195 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.2462, allocations: 0 / 1.197 GB, free: 2.195 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2462, allocations: 4 kB / 1.197 GB, free: 2.191 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.543e-05/0.2463, allocations: 87.88 kB / 1.197 GB, free: 2.105 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006015/0.2469, allocations: 0.679 MB / 1.198 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.247, allocations: 78.73 kB / 1.198 GB, free: 1.293 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/0.2471, allocations: 44.78 kB / 1.198 GB, free: 1.246 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.2471, allocations: 3.938 kB / 1.198 GB, free: 1.242 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.2473, allocations: 156.4 kB / 1.198 GB, free: 1.078 MB / 0.823 GB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.2473, allocations: 0 / 1.198 GB, free: 1.078 MB / 0.823 GB Notification: Performance of matching and sorting (n=20): time 0.0003117/0.2476, allocations: 251.2 kB / 1.198 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.2477, allocations: 55.41 kB / 1.199 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.2478, allocations: 186.1 kB / 1.199 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.2478, allocations: 45.7 kB / 1.199 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.2479, allocations: 124.6 kB / 1.199 GB, free: 404 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.2479, allocations: 43.73 kB / 1.199 GB, free: 360 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.2482, allocations: 121.6 kB / 1.199 GB, free: 232 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.2482, allocations: 326.8 kB / 1.199 GB, free: 15.9 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.2485, allocations: 155.9 kB / 1.199 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.2487, allocations: 234.1 kB / 1.2 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.249, allocations: 407.7 kB / 1.2 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.249, allocations: 4 kB / 1.2 GB, free: 15.01 MB / 0.8387 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006368/0.2496, allocations: 0.6288 MB / 1.201 GB, free: 14.35 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/0.2497, allocations: 176.4 kB / 1.201 GB, free: 14.14 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2497, allocations: 0 / 1.201 GB, free: 14.14 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2497, allocations: 4 kB / 1.201 GB, free: 14.14 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.23e-05/0.2497, allocations: 11.94 kB / 1.201 GB, free: 14.13 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2497, allocations: 4 kB / 1.201 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/0.2501, allocations: 139.9 kB / 1.201 GB, free: 13.99 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/0.2501, allocations: 35.91 kB / 1.201 GB, free: 13.95 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.0001034/0.2502, allocations: 155.1 kB / 1.201 GB, free: 13.79 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.2503, allocations: 23.84 kB / 1.201 GB, free: 13.77 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.2503, allocations: 17.8 kB / 1.201 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2503, allocations: 4 kB / 1.201 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2503, allocations: 0 / 1.201 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2503, allocations: 0 / 1.201 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.2506, allocations: 0.4892 MB / 1.202 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2506, allocations: 0 / 1.202 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.32e-05/0.2507, allocations: 15.92 kB / 1.202 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.2507, allocations: 0 / 1.202 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.2507, allocations: 11.94 kB / 1.202 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.2507, allocations: 0 / 1.202 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2507, allocations: 64 / 1.202 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.2509, allocations: 288.8 kB / 1.202 GB, free: 12.88 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.2509, allocations: 15.91 kB / 1.202 GB, free: 12.87 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.2509, allocations: 4 kB / 1.202 GB, free: 12.86 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.251, allocations: 3.984 kB / 1.202 GB, free: 12.86 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.251, allocations: 19.97 kB / 1.202 GB, free: 12.84 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.251, allocations: 16 kB / 1.202 GB, free: 12.82 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 6.094e-05/0.2511, allocations: 119.2 kB / 1.202 GB, free: 12.71 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2511, allocations: 0 / 1.202 GB, free: 12.71 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002217/0.2513, allocations: 79.92 kB / 1.202 GB, free: 12.63 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.0004573/0.2517, allocations: 0.8281 MB / 1.203 GB, free: 11.78 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0004529/0.2522, allocations: 0.5514 MB / 1.204 GB, free: 11.16 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.2522, allocations: 0 / 1.204 GB, free: 11.16 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.512e-05/0.2523, allocations: 63.91 kB / 1.204 GB, free: 11.1 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.2525, allocations: 48.58 kB / 1.204 GB, free: 11.05 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.255, allocations: 3.013 MB / 1.207 GB, free: 7.859 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.2553, allocations: 0.732 MB / 1.207 GB, free: 7.102 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.343e-05/0.2553, allocations: 21.48 kB / 1.207 GB, free: 7.082 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.2554, allocations: 55.41 kB / 1.207 GB, free: 7.027 MB / 0.8387 GB Notification: Performance of SimCode: time 3.7e-07/0.2554, allocations: 0 / 1.207 GB, free: 7.027 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.2739, allocations: 6.594 MB / 1.214 GB, free: 0.6211 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.386/6.66, allocations: 14.67 kB / 1.214 GB, free: 0.6133 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.166255569085479] Failed to read output from testmodel.py, exit status != 0: 6.739157400093973 6.749728318 6.503000998 Calling exit ...