Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.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.0008647/0.0008647, allocations: 106 kB / 18.93 MB, free: 1.137 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.000959/0.000959, allocations: 220.6 kB / 22.26 MB, free: 2.453 MB / 18.57 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.9071/0.9071, allocations: 230.6 MB / 256 MB, free: 3.449 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.0364/0.0364, allocations: 12.19 MB / 324.6 MB, free: 3.527 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.0004798/0.0004798, allocations: 37.55 kB / 384.1 MB, free: 45.58 MB / 298.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.641/1.641, allocations: 353.8 MB / 0.7787 GB, free: 13.03 MB / 0.5262 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.Xor,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Xor",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.001344/0.001344, allocations: 111.8 kB / 1.06 GB, free: 9.801 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2353, allocations: 134.9 MB / 1.192 GB, free: 2.984 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001665/0.237, allocations: 0.64 MB / 1.192 GB, free: 2.348 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.2382, allocations: 1.251 MB / 1.194 GB, free: 1.086 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.2383, allocations: 4 kB / 1.194 GB, free: 1.082 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.2383, allocations: 3.938 kB / 1.194 GB, free: 1.078 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.2384, allocations: 7.922 kB / 1.194 GB, free: 1.07 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005987/0.239, allocations: 217.5 kB / 1.194 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.2393, allocations: 187.6 kB / 1.194 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.2394, allocations: 4 kB / 1.194 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.844e-05/0.2395, allocations: 67.94 kB / 1.194 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.2396, allocations: 63.8 kB / 1.194 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.2397, allocations: 16 kB / 1.194 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.449e-05/0.2397, allocations: 31.98 kB / 1.194 GB, free: 0.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.2398, allocations: 11.97 kB / 1.194 GB, free: 500 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.339e-05/0.2398, allocations: 55.84 kB / 1.194 GB, free: 444 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.24, allocations: 155.9 kB / 1.194 GB, free: 288 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2401, allocations: 3.938 kB / 1.194 GB, free: 284 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2401, allocations: 0 / 1.194 GB, free: 284 kB / 0.823 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.2401, allocations: 0 / 1.194 GB, free: 284 kB / 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.0005597/0.2406, allocations: 371.2 kB / 1.195 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.2407, allocations: 11.98 kB / 1.195 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.738e-05/0.2407, allocations: 30.75 kB / 1.195 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.2407, allocations: 16.89 kB / 1.195 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.2408, allocations: 114.5 kB / 1.195 GB, free: 15.67 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.2409, allocations: 12.38 kB / 1.195 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.2409, allocations: 8.375 kB / 1.195 GB, free: 15.65 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.148e-05/0.241, allocations: 50.23 kB / 1.195 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.241, allocations: 3.938 kB / 1.195 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.241, allocations: 4 kB / 1.195 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.241, allocations: 0 / 1.195 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.577e-05/0.2411, allocations: 15.94 kB / 1.195 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.2414, allocations: 323.8 kB / 1.195 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 7.075e-05/0.2415, allocations: 38.56 kB / 1.195 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.2415, allocations: 12.86 kB / 1.195 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.2415, allocations: 0 / 1.195 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.2417, allocations: 87.38 kB / 1.195 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.2417, allocations: 0 / 1.195 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of matching and sorting (n=7): time 0.0002501/0.242, allocations: 105.6 kB / 1.196 GB, free: 14.94 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.242, allocations: 59.41 kB / 1.196 GB, free: 14.87 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.2421, allocations: 133.6 kB / 1.196 GB, free: 14.73 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.2421, allocations: 29.7 kB / 1.196 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.2422, allocations: 88.14 kB / 1.196 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.2422, allocations: 19.89 kB / 1.196 GB, free: 14.59 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.2422, allocations: 45.69 kB / 1.196 GB, free: 14.54 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.2423, allocations: 322.8 kB / 1.196 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.891e-05/0.2424, allocations: 59.97 kB / 1.196 GB, free: 14.15 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.2425, allocations: 96.25 kB / 1.196 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.2427, allocations: 151.6 kB / 1.197 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2427, allocations: 4 kB / 1.197 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002841/0.243, allocations: 268.8 kB / 1.197 GB, free: 13.58 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/0.2431, allocations: 67.39 kB / 1.197 GB, free: 13.5 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2431, allocations: 7.938 kB / 1.197 GB, free: 13.5 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2431, allocations: 3.984 kB / 1.197 GB, free: 13.49 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.901e-05/0.2431, allocations: 7.938 kB / 1.197 GB, free: 13.48 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2431, allocations: 3.984 kB / 1.197 GB, free: 13.48 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.2433, allocations: 56.06 kB / 1.197 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.2433, allocations: 8.469 kB / 1.197 GB, free: 13.42 MB / 0.8387 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,xor1.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.007e-05/0.2434, allocations: 126.6 kB / 1.197 GB, free: 13.29 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-06/0.2434, allocations: 7.953 kB / 1.197 GB, free: 13.28 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/0.2434, allocations: 8.375 kB / 1.197 GB, free: 13.27 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2434, allocations: 4 kB / 1.197 GB, free: 13.26 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2435, allocations: 3.938 kB / 1.197 GB, free: 13.26 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2435, allocations: 0 / 1.197 GB, free: 13.26 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.2436, allocations: 156.6 kB / 1.197 GB, free: 13.06 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2436, allocations: 4.062 kB / 1.197 GB, free: 13.06 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-06/0.2436, allocations: 7.938 kB / 1.197 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2436, allocations: 0 / 1.197 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.2436, allocations: 4 kB / 1.197 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2436, allocations: 0 / 1.197 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2436, allocations: 320 / 1.197 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.2437, allocations: 121 kB / 1.197 GB, free: 12.91 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-06/0.2437, allocations: 7.953 kB / 1.197 GB, free: 12.9 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.2437, allocations: 7.984 kB / 1.197 GB, free: 12.89 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.564e-05/0.2437, allocations: 0 / 1.197 GB, free: 12.89 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.2438, allocations: 11.98 kB / 1.197 GB, free: 12.88 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.2438, allocations: 4 kB / 1.197 GB, free: 12.88 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 6.872e-05/0.2439, allocations: 83.28 kB / 1.197 GB, free: 12.8 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2439, allocations: 4 kB / 1.197 GB, free: 12.79 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001642/0.244, allocations: 27.98 kB / 1.197 GB, free: 12.77 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.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.0003408/0.2444, allocations: 0.6475 MB / 1.198 GB, free: 12.09 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002787/0.2447, allocations: 218.7 kB / 1.198 GB, free: 11.85 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2447, allocations: 0 / 1.198 GB, free: 11.85 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.528e-05/0.2447, allocations: 31.91 kB / 1.198 GB, free: 11.82 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.2449, allocations: 19.52 kB / 1.198 GB, free: 11.8 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.2462, allocations: 1.725 MB / 1.2 GB, free: 9.961 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.2464, allocations: 0.6885 MB / 1.201 GB, free: 9.246 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.9e-05/0.2464, allocations: 4 kB / 1.201 GB, free: 9.242 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.2465, allocations: 23.42 kB / 1.201 GB, free: 9.219 MB / 0.8387 GB Notification: Performance of SimCode: time 7.92e-07/0.2465, allocations: 0 / 1.201 GB, free: 9.219 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.2621, allocations: 3.045 MB / 1.204 GB, free: 6.336 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.194/6.456, allocations: 0 / 1.204 GB, free: 6.336 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Xor.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.632739225402474] Failed to read output from testmodel.py, exit status != 0: 6.534314475953579 6.542910097 6.301160815 Calling exit ...