Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.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.0007994/0.0007994, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.00114/0.00114, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9427/0.9427, allocations: 230.6 MB / 256 MB, free: 9.59 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.03645/0.03645, allocations: 12.19 MB / 324.6 MB, free: 6.094 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.0003965/0.0003965, allocations: 23.97 kB / 384.1 MB, free: 10.52 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.622/1.622, allocations: 353.9 MB / 0.7787 GB, free: 4.57 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.And,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_And",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.001453/0.001453, allocations: 121.5 kB / 1.06 GB, free: 24.93 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2383, allocations: 134.9 MB / 1.192 GB, free: 7.535 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.And): time 0.001441/0.2397, allocations: 0.6332 MB / 1.192 GB, free: 6.902 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.2408, allocations: 1.227 MB / 1.193 GB, free: 5.664 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.2409, allocations: 0 / 1.193 GB, free: 5.664 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.2409, allocations: 3.938 kB / 1.194 GB, free: 5.66 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.09e-05/0.241, allocations: 15.92 kB / 1.194 GB, free: 5.645 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.2415, allocations: 214.3 kB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.2416, allocations: 171.7 kB / 1.194 GB, free: 5.273 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 7.914e-05/0.2417, allocations: 11.98 kB / 1.194 GB, free: 5.262 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.188e-05/0.2418, allocations: 67.89 kB / 1.194 GB, free: 5.195 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.2419, allocations: 51.84 kB / 1.194 GB, free: 5.145 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.2419, allocations: 16 kB / 1.194 GB, free: 5.129 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.94e-05/0.242, allocations: 24 kB / 1.194 GB, free: 5.105 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.242, allocations: 15.91 kB / 1.194 GB, free: 5.09 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.2421, allocations: 51.91 kB / 1.194 GB, free: 5.039 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.2422, allocations: 155.8 kB / 1.194 GB, free: 4.887 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2422, allocations: 4 kB / 1.194 GB, free: 4.883 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2422, allocations: 0 / 1.194 GB, free: 4.883 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.2422, allocations: 3.938 kB / 1.194 GB, free: 4.879 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.0003975/0.2426, allocations: 361.5 kB / 1.195 GB, free: 4.48 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2427, allocations: 12.03 kB / 1.195 GB, free: 4.469 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.194e-05/0.2427, allocations: 30.75 kB / 1.195 GB, free: 4.43 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.2427, allocations: 12.89 kB / 1.195 GB, free: 4.418 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.243e-05/0.2428, allocations: 114.4 kB / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.2428, allocations: 16.36 kB / 1.195 GB, free: 4.266 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.2428, allocations: 8.375 kB / 1.195 GB, free: 4.258 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.418e-05/0.2429, allocations: 50.25 kB / 1.195 GB, free: 4.203 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.2429, allocations: 3.938 kB / 1.195 GB, free: 4.199 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.2429, allocations: 0 / 1.195 GB, free: 4.199 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2429, allocations: 0 / 1.195 GB, free: 4.199 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.22e-05/0.243, allocations: 19.92 kB / 1.195 GB, free: 4.18 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.2433, allocations: 291.9 kB / 1.195 GB, free: 3.852 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.503e-05/0.2434, allocations: 38.55 kB / 1.195 GB, free: 3.805 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.053e-05/0.2434, allocations: 12.86 kB / 1.195 GB, free: 3.789 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.2434, allocations: 0 / 1.195 GB, free: 3.789 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.2436, allocations: 83.39 kB / 1.195 GB, free: 3.695 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.001e-06/0.2436, allocations: 4 kB / 1.195 GB, free: 3.691 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002037/0.2438, allocations: 101.6 kB / 1.195 GB, free: 3.586 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.2438, allocations: 59.39 kB / 1.195 GB, free: 3.516 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.691e-05/0.2439, allocations: 121.7 kB / 1.196 GB, free: 3.387 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.2439, allocations: 33.64 kB / 1.196 GB, free: 3.348 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.244, allocations: 88.14 kB / 1.196 GB, free: 3.258 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.244, allocations: 23.88 kB / 1.196 GB, free: 3.234 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.244, allocations: 49.69 kB / 1.196 GB, free: 3.18 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.2441, allocations: 318.8 kB / 1.196 GB, free: 2.859 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.2442, allocations: 119.4 kB / 1.196 GB, free: 2.73 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.2444, allocations: 163.6 kB / 1.196 GB, free: 2.543 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.2445, allocations: 160 kB / 1.196 GB, free: 2.359 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2445, allocations: 0 / 1.196 GB, free: 2.359 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002994/0.2448, allocations: 328.2 kB / 1.197 GB, free: 2.008 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.2448, allocations: 63.39 kB / 1.197 GB, free: 1.934 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2448, allocations: 0 / 1.197 GB, free: 1.934 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2449, allocations: 8.125 kB / 1.197 GB, free: 1.926 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.217e-05/0.2449, allocations: 11.92 kB / 1.197 GB, free: 1.914 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.2449, allocations: 4 kB / 1.197 GB, free: 1.91 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.2451, allocations: 47.94 kB / 1.197 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.2451, allocations: 8 kB / 1.197 GB, free: 1.855 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,and1.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 8.773e-05/0.2452, allocations: 128 kB / 1.197 GB, free: 1.723 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.2452, allocations: 11.95 kB / 1.197 GB, free: 1.711 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.2452, allocations: 8.375 kB / 1.197 GB, free: 1.699 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2452, allocations: 0 / 1.197 GB, free: 1.699 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2452, allocations: 0 / 1.197 GB, free: 1.699 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2453, allocations: 4 kB / 1.197 GB, free: 1.695 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.2454, allocations: 144.6 kB / 1.197 GB, free: 1.512 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2454, allocations: 4 kB / 1.197 GB, free: 1.508 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-06/0.2454, allocations: 64 / 1.197 GB, free: 1.508 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.2454, allocations: 4 kB / 1.197 GB, free: 1.504 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2454, allocations: 7.938 kB / 1.197 GB, free: 1.496 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.2454, allocations: 4 kB / 1.197 GB, free: 1.492 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2454, allocations: 4 kB / 1.197 GB, free: 1.488 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.2455, allocations: 117 kB / 1.197 GB, free: 1.355 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.2455, allocations: 3.953 kB / 1.197 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.2455, allocations: 7.984 kB / 1.197 GB, free: 1.344 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.256e-05/0.2455, allocations: 0 / 1.197 GB, free: 1.344 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.2456, allocations: 7.984 kB / 1.197 GB, free: 1.336 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.2456, allocations: 4 kB / 1.197 GB, free: 1.332 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.571e-05/0.2456, allocations: 91.22 kB / 1.197 GB, free: 1.242 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2456, allocations: 0 / 1.197 GB, free: 1.242 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001649/0.2458, allocations: 31.98 kB / 1.197 GB, free: 1.211 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,and1.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.0003219/0.2461, allocations: 0.6475 MB / 1.198 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002551/0.2463, allocations: 278.1 kB / 1.198 GB, free: 232 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2463, allocations: 3.938 kB / 1.198 GB, free: 228 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.079e-05/0.2464, allocations: 24.45 kB / 1.198 GB, free: 204 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.2465, allocations: 20.08 kB / 1.198 GB, free: 184 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.248, allocations: 1.965 MB / 1.2 GB, free: 14.05 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.432e-05/0.2481, allocations: 71.33 kB / 1.2 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.915e-05/0.2481, allocations: 8 kB / 1.2 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.2481, allocations: 15.42 kB / 1.2 GB, free: 13.93 MB / 0.8387 GB Notification: Performance of SimCode: time 1.052e-06/0.2481, allocations: 0 / 1.2 GB, free: 13.93 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.2669, allocations: 3.646 MB / 1.204 GB, free: 10.46 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.563/6.829, allocations: 4 kB / 1.204 GB, free: 10.45 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_And.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.108638569712639] Failed to read output from testmodel.py, exit status != 0: 6.906149347312748 6.914440483 6.670297472 Calling exit ...