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.0008498/0.0008498, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0009153/0.0009153, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.9998/0.9998, allocations: 230.6 MB / 256 MB, free: 9.629 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.0371/0.0371, 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.0004467/0.0004467, allocations: 35.7 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.704/1.704, allocations: 353.8 MB / 0.7787 GB, free: 3.113 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.001496/0.001496, allocations: 123.6 kB / 1.06 GB, free: 25.09 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2102, allocations: 134.9 MB / 1.192 GB, free: 7.945 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.And): time 0.001495/0.2117, allocations: 0.6621 MB / 1.192 GB, free: 7.285 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.2127, allocations: 1.235 MB / 1.194 GB, free: 6.039 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.2128, allocations: 4 kB / 1.194 GB, free: 6.035 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.2128, allocations: 3.938 kB / 1.194 GB, free: 6.031 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.2129, allocations: 15.86 kB / 1.194 GB, free: 6.016 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.2134, allocations: 210.6 kB / 1.194 GB, free: 5.816 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.2135, allocations: 175.7 kB / 1.194 GB, free: 5.645 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.479e-05/0.2136, allocations: 11.98 kB / 1.194 GB, free: 5.633 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.898e-05/0.2137, allocations: 67.89 kB / 1.194 GB, free: 5.566 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.2139, allocations: 63.84 kB / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.2139, allocations: 16 kB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.907e-05/0.2139, allocations: 31.98 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.214, allocations: 7.984 kB / 1.194 GB, free: 5.449 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.17e-05/0.214, allocations: 59.83 kB / 1.194 GB, free: 5.391 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.2142, allocations: 151.8 kB / 1.194 GB, free: 5.242 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2142, allocations: 0 / 1.194 GB, free: 5.242 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2142, allocations: 0 / 1.194 GB, free: 5.242 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.2142, allocations: 0 / 1.194 GB, free: 5.242 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.0004439/0.2146, allocations: 365.5 kB / 1.195 GB, free: 4.84 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.2147, allocations: 8.031 kB / 1.195 GB, free: 4.832 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.286e-05/0.2147, allocations: 42.69 kB / 1.195 GB, free: 4.781 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.2147, allocations: 16.89 kB / 1.195 GB, free: 4.766 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.809e-05/0.2148, allocations: 110.5 kB / 1.195 GB, free: 4.633 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2148, allocations: 8.375 kB / 1.195 GB, free: 4.625 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.2148, allocations: 12.36 kB / 1.195 GB, free: 4.613 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.944e-05/0.2149, allocations: 50.19 kB / 1.195 GB, free: 4.559 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.2149, allocations: 3.938 kB / 1.195 GB, free: 4.555 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.2149, allocations: 0 / 1.195 GB, free: 4.555 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.2149, allocations: 4 kB / 1.195 GB, free: 4.551 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.992e-05/0.215, allocations: 15.98 kB / 1.195 GB, free: 4.535 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.2153, allocations: 323.8 kB / 1.195 GB, free: 4.176 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.416e-05/0.2153, allocations: 26.58 kB / 1.195 GB, free: 4.141 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/0.2154, allocations: 24.88 kB / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.2154, allocations: 0 / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.2155, allocations: 79.38 kB / 1.195 GB, free: 4.023 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 6.91e-07/0.2155, allocations: 4 kB / 1.195 GB, free: 4.02 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0001675/0.2157, allocations: 97.62 kB / 1.196 GB, free: 3.918 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.2157, allocations: 63.33 kB / 1.196 GB, free: 3.844 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.587e-05/0.2158, allocations: 125.7 kB / 1.196 GB, free: 3.711 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2158, allocations: 29.7 kB / 1.196 GB, free: 3.676 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.2159, allocations: 88.14 kB / 1.196 GB, free: 3.586 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.2159, allocations: 15.91 kB / 1.196 GB, free: 3.57 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.2159, allocations: 49.69 kB / 1.196 GB, free: 3.516 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.216, allocations: 326.8 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.2161, allocations: 55.97 kB / 1.196 GB, free: 3.133 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.2162, allocations: 92.25 kB / 1.196 GB, free: 3.027 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.2164, allocations: 164 kB / 1.197 GB, free: 2.84 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2164, allocations: 0 / 1.197 GB, free: 2.84 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00026/0.2166, allocations: 268.8 kB / 1.197 GB, free: 2.559 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.2167, allocations: 67.39 kB / 1.197 GB, free: 2.48 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2167, allocations: 0 / 1.197 GB, free: 2.48 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.2167, allocations: 4 kB / 1.197 GB, free: 2.477 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.439e-05/0.2167, allocations: 3.938 kB / 1.197 GB, free: 2.473 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.2167, allocations: 7.984 kB / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.2169, allocations: 52.06 kB / 1.197 GB, free: 2.414 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.2169, allocations: 12 kB / 1.197 GB, free: 2.402 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 6.287e-05/0.217, allocations: 125.8 kB / 1.197 GB, free: 2.27 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.217, allocations: 7.953 kB / 1.197 GB, free: 2.262 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.217, allocations: 8.375 kB / 1.197 GB, free: 2.25 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.217, allocations: 8 kB / 1.197 GB, free: 2.242 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.217, allocations: 0 / 1.197 GB, free: 2.242 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.217, allocations: 0 / 1.197 GB, free: 2.242 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.386e-05/0.2171, allocations: 156.6 kB / 1.197 GB, free: 2.047 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.2171, allocations: 3.938 kB / 1.197 GB, free: 2.043 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-06/0.2171, allocations: 0 / 1.197 GB, free: 2.043 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.2171, allocations: 0 / 1.197 GB, free: 2.043 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.2171, allocations: 4 kB / 1.197 GB, free: 2.039 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.2171, allocations: 0 / 1.197 GB, free: 2.039 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2171, allocations: 0 / 1.197 GB, free: 2.039 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.939e-05/0.2172, allocations: 117 kB / 1.197 GB, free: 1.906 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.2172, allocations: 3.953 kB / 1.197 GB, free: 1.902 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.2172, allocations: 7.984 kB / 1.197 GB, free: 1.895 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.317e-05/0.2173, allocations: 7.984 kB / 1.197 GB, free: 1.887 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.2173, allocations: 0 / 1.197 GB, free: 1.887 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.2173, allocations: 4 kB / 1.197 GB, free: 1.883 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.212e-05/0.2173, allocations: 99.14 kB / 1.197 GB, free: 1.785 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2173, allocations: 0 / 1.197 GB, free: 1.785 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001594/0.2175, allocations: 36 kB / 1.197 GB, free: 1.75 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.0005079/0.218, allocations: 0.6475 MB / 1.198 GB, free: 1.074 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.2182, allocations: 214.8 kB / 1.198 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2182, allocations: 0 / 1.198 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.779e-05/0.2182, allocations: 24.19 kB / 1.198 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.2184, allocations: 24.67 kB / 1.198 GB, free: 0.793 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.2196, allocations: 1.724 MB / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.2198, allocations: 0.6884 MB / 1.201 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.033e-05/0.2198, allocations: 7.984 kB / 1.201 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.2198, allocations: 19.44 kB / 1.201 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of SimCode: time 4.9e-07/0.2198, allocations: 0 / 1.201 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.2347, allocations: 3.031 MB / 1.204 GB, free: 11.34 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.31/6.545, allocations: 7.984 kB / 1.204 GB, free: 11.33 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: 10.965888825245202] Failed to read output from testmodel.py, exit status != 0: 6.620006910525262 6.62902472 6.41297427 Calling exit ...