Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.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.0007869/0.0007869, allocations: 113.3 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.0007844/0.0007844, allocations: 219.4 kB / 22.25 MB, free: 3.699 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.9869/0.9869, allocations: 230.6 MB / 256 MB, free: 9.785 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.04245/0.04245, allocations: 12.19 MB / 324.6 MB, free: 6.262 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.0004358/0.0004358, allocations: 27.91 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.774/1.774, allocations: 353.8 MB / 0.7787 GB, free: 3.152 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.Nand,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Nand",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.001451/0.001451, allocations: 116.8 kB / 1.06 GB, free: 24.91 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2401, allocations: 134.9 MB / 1.192 GB, free: 7.895 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001451/0.2416, allocations: 0.6464 MB / 1.192 GB, free: 7.25 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.243, allocations: 1.242 MB / 1.194 GB, free: 5.996 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.243, allocations: 4 kB / 1.194 GB, free: 5.992 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.243, allocations: 4 kB / 1.194 GB, free: 5.988 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-05/0.2431, allocations: 11.86 kB / 1.194 GB, free: 5.977 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.2436, allocations: 218.3 kB / 1.194 GB, free: 5.77 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.2437, allocations: 171.7 kB / 1.194 GB, free: 5.602 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 7.918e-05/0.2438, allocations: 7.984 kB / 1.194 GB, free: 5.594 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.675e-05/0.2439, allocations: 75.83 kB / 1.194 GB, free: 5.52 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.244, allocations: 63.84 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.244, allocations: 16 kB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.2441, allocations: 27.98 kB / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.2441, allocations: 11.98 kB / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.942e-05/0.2442, allocations: 55.83 kB / 1.194 GB, free: 5.348 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.2443, allocations: 143.9 kB / 1.194 GB, free: 5.207 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2443, allocations: 0 / 1.194 GB, free: 5.207 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2443, allocations: 3.938 kB / 1.194 GB, free: 5.203 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2444, allocations: 0 / 1.194 GB, free: 5.203 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003859/0.2447, allocations: 373.5 kB / 1.195 GB, free: 4.793 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2448, allocations: 8.031 kB / 1.195 GB, free: 4.785 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.441e-05/0.2448, allocations: 34.75 kB / 1.195 GB, free: 4.742 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.2448, allocations: 12.89 kB / 1.195 GB, free: 4.73 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.426e-05/0.2449, allocations: 110.4 kB / 1.195 GB, free: 4.598 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.2449, allocations: 20.28 kB / 1.195 GB, free: 4.578 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.245, allocations: 12.38 kB / 1.195 GB, free: 4.566 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.722e-05/0.2451, allocations: 42.25 kB / 1.195 GB, free: 4.52 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2451, allocations: 3.938 kB / 1.195 GB, free: 4.516 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.2451, allocations: 0 / 1.195 GB, free: 4.516 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.2451, allocations: 8 kB / 1.195 GB, free: 4.508 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.086e-05/0.2452, allocations: 15.98 kB / 1.195 GB, free: 4.492 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.2456, allocations: 327.8 kB / 1.195 GB, free: 4.129 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.587e-05/0.2457, allocations: 26.58 kB / 1.195 GB, free: 4.094 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/0.2457, allocations: 20.94 kB / 1.195 GB, free: 4.07 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.2457, allocations: 0 / 1.195 GB, free: 4.07 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.2458, allocations: 79.38 kB / 1.195 GB, free: 3.98 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 7.72e-07/0.2459, allocations: 0 / 1.195 GB, free: 3.98 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002502/0.2461, allocations: 105.5 kB / 1.196 GB, free: 3.871 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.2461, allocations: 55.41 kB / 1.196 GB, free: 3.805 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/0.2462, allocations: 125.7 kB / 1.196 GB, free: 3.672 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.2463, allocations: 33.7 kB / 1.196 GB, free: 3.633 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.2463, allocations: 88.12 kB / 1.196 GB, free: 3.543 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.2463, allocations: 19.91 kB / 1.196 GB, free: 3.523 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.2464, allocations: 49.69 kB / 1.196 GB, free: 3.469 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.2465, allocations: 322.8 kB / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.525e-05/0.2466, allocations: 59.97 kB / 1.196 GB, free: 3.086 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.2467, allocations: 92.19 kB / 1.196 GB, free: 2.98 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.2468, allocations: 160.1 kB / 1.196 GB, free: 2.797 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2468, allocations: 0 / 1.196 GB, free: 2.797 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003194/0.2472, allocations: 268.8 kB / 1.197 GB, free: 2.516 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.2472, allocations: 67.39 kB / 1.197 GB, free: 2.438 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2472, allocations: 3.938 kB / 1.197 GB, free: 2.434 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2472, allocations: 8.125 kB / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.883e-05/0.2473, allocations: 8.047 kB / 1.197 GB, free: 2.418 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2473, allocations: 4 kB / 1.197 GB, free: 2.414 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.2474, allocations: 51.94 kB / 1.197 GB, free: 2.363 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.2475, allocations: 8 kB / 1.197 GB, free: 2.355 MB / 0.823 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,nand1.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 7.387e-05/0.2475, allocations: 133.7 kB / 1.197 GB, free: 2.215 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.2475, allocations: 7.953 kB / 1.197 GB, free: 2.207 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.2476, allocations: 8.375 kB / 1.197 GB, free: 2.195 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2476, allocations: 4 kB / 1.197 GB, free: 2.191 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2476, allocations: 0 / 1.197 GB, free: 2.191 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2476, allocations: 0 / 1.197 GB, free: 2.191 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.2477, allocations: 156.6 kB / 1.197 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.2477, allocations: 0 / 1.197 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-06/0.2477, allocations: 0 / 1.197 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2477, allocations: 0 / 1.197 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.2477, allocations: 8 kB / 1.197 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2477, allocations: 4 kB / 1.197 GB, free: 1.984 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2477, allocations: 0 / 1.197 GB, free: 1.984 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.2478, allocations: 112.9 kB / 1.197 GB, free: 1.855 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-06/0.2478, allocations: 7.953 kB / 1.197 GB, free: 1.848 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.2478, allocations: 3.984 kB / 1.197 GB, free: 1.844 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.114e-05/0.2479, allocations: 4 kB / 1.197 GB, free: 1.84 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.2479, allocations: 0 / 1.197 GB, free: 1.84 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.2479, allocations: 7.984 kB / 1.197 GB, free: 1.832 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.2479, allocations: 91.28 kB / 1.197 GB, free: 1.742 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2479, allocations: 288 / 1.197 GB, free: 1.742 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001525/0.2481, allocations: 32 kB / 1.197 GB, free: 1.711 MB / 0.823 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,nand1.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.0003042/0.2484, allocations: 0.6552 MB / 1.198 GB, free: 1.027 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002609/0.2486, allocations: 222.7 kB / 1.198 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.2487, allocations: 0 / 1.198 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.817e-05/0.2487, allocations: 19.98 kB / 1.198 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.2488, allocations: 15.98 kB / 1.198 GB, free: 0.75 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.2506, allocations: 1.718 MB / 1.2 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.2507, allocations: 0.6846 MB / 1.201 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.203e-05/0.2508, allocations: 7.984 kB / 1.201 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.2508, allocations: 19.44 kB / 1.201 GB, free: 14.18 MB / 0.8387 GB Notification: Performance of SimCode: time 6.31e-07/0.2508, allocations: 4 kB / 1.201 GB, free: 14.17 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.2675, allocations: 3.04 MB / 1.204 GB, free: 11.29 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.4/6.668, allocations: 9.844 kB / 1.204 GB, free: 11.28 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Nand.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.202210117131472] Failed to read output from testmodel.py, exit status != 0: 6.745126083493233 6.754024976 6.507871965 Calling exit ...