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.0008276/0.0008276, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.001076/0.001076, allocations: 216 kB / 22.25 MB, free: 3.73 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.9743/0.9743, allocations: 230.6 MB / 256 MB, free: 9.602 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.04027/0.04027, allocations: 12.19 MB / 324.6 MB, free: 6.074 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.0004918/0.0004918, allocations: 27.97 kB / 384.1 MB, free: 10.49 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.675/1.675, allocations: 353.9 MB / 0.7787 GB, free: 4.578 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.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.001467/0.001467, allocations: 122.5 kB / 1.06 GB, free: 24.8 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2325, allocations: 134.9 MB / 1.192 GB, free: 7.5 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001365/0.2339, allocations: 0.6349 MB / 1.192 GB, free: 6.867 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.235, allocations: 1.227 MB / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/0.2351, allocations: 0 / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.2351, allocations: 3.938 kB / 1.194 GB, free: 5.625 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.39e-05/0.2352, allocations: 15.86 kB / 1.194 GB, free: 5.609 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.2357, allocations: 219.9 kB / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.2358, allocations: 171.7 kB / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.2359, allocations: 8 kB / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.231e-05/0.236, allocations: 67.89 kB / 1.194 GB, free: 5.16 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.2361, allocations: 55.84 kB / 1.194 GB, free: 5.105 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.2361, allocations: 12 kB / 1.194 GB, free: 5.094 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.402e-05/0.2362, allocations: 35.98 kB / 1.194 GB, free: 5.059 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.2362, allocations: 11.94 kB / 1.194 GB, free: 5.047 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.437e-05/0.2363, allocations: 51.88 kB / 1.194 GB, free: 4.996 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.2365, allocations: 159.8 kB / 1.194 GB, free: 4.84 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2365, allocations: 0 / 1.194 GB, free: 4.84 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2365, allocations: 0 / 1.194 GB, free: 4.84 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2365, allocations: 3.938 kB / 1.194 GB, free: 4.836 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.0004099/0.2369, allocations: 365.5 kB / 1.195 GB, free: 4.434 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2369, allocations: 8.031 kB / 1.195 GB, free: 4.426 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.845e-05/0.237, allocations: 38.75 kB / 1.195 GB, free: 4.379 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.237, allocations: 8.891 kB / 1.195 GB, free: 4.371 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.344e-05/0.2371, allocations: 114.5 kB / 1.195 GB, free: 4.234 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.2371, allocations: 8.359 kB / 1.195 GB, free: 4.227 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.2371, allocations: 12.38 kB / 1.195 GB, free: 4.215 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.381e-05/0.2372, allocations: 46.25 kB / 1.195 GB, free: 4.164 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2372, allocations: 3.938 kB / 1.195 GB, free: 4.16 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2372, allocations: 7.922 kB / 1.195 GB, free: 4.152 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2372, allocations: 4 kB / 1.195 GB, free: 4.148 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.2373, allocations: 12 kB / 1.195 GB, free: 4.137 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.2376, allocations: 291.9 kB / 1.195 GB, free: 3.809 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.066e-05/0.2377, allocations: 34.56 kB / 1.195 GB, free: 3.766 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.2377, allocations: 16.86 kB / 1.195 GB, free: 3.746 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.2377, allocations: 3.938 kB / 1.195 GB, free: 3.742 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.2379, allocations: 83.45 kB / 1.195 GB, free: 3.648 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.2379, allocations: 0 / 1.195 GB, free: 3.648 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0001951/0.2381, allocations: 105.6 kB / 1.195 GB, free: 3.539 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.2381, allocations: 55.41 kB / 1.195 GB, free: 3.473 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.287e-05/0.2382, allocations: 133.7 kB / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.2382, allocations: 29.7 kB / 1.196 GB, free: 3.297 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.2383, allocations: 88.14 kB / 1.196 GB, free: 3.207 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.2383, allocations: 15.91 kB / 1.196 GB, free: 3.191 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.2383, allocations: 49.69 kB / 1.196 GB, free: 3.137 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.42e-05/0.2384, allocations: 322.8 kB / 1.196 GB, free: 2.812 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.2385, allocations: 123.4 kB / 1.196 GB, free: 2.68 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.2386, allocations: 156 kB / 1.196 GB, free: 2.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.2388, allocations: 163.6 kB / 1.196 GB, free: 2.312 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2388, allocations: 0 / 1.196 GB, free: 2.312 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002858/0.2391, allocations: 332.2 kB / 1.197 GB, free: 1.957 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001796/0.2392, allocations: 67.39 kB / 1.197 GB, free: 1.879 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2392, allocations: 0 / 1.197 GB, free: 1.879 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2393, allocations: 0 / 1.197 GB, free: 1.879 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.276e-05/0.2393, allocations: 11.94 kB / 1.197 GB, free: 1.867 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2393, allocations: 0 / 1.197 GB, free: 1.867 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.2395, allocations: 47.94 kB / 1.197 GB, free: 1.82 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.2395, allocations: 20.11 kB / 1.197 GB, free: 1.801 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,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 7.09e-05/0.2396, allocations: 121.8 kB / 1.197 GB, free: 1.672 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.2396, allocations: 11.94 kB / 1.197 GB, free: 1.66 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.2396, allocations: 8.375 kB / 1.197 GB, free: 1.648 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2396, allocations: 64 / 1.197 GB, free: 1.648 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2396, allocations: 4 kB / 1.197 GB, free: 1.645 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2396, allocations: 0 / 1.197 GB, free: 1.645 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.849e-05/0.2397, allocations: 152.6 kB / 1.197 GB, free: 1.453 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2397, allocations: 4 kB / 1.197 GB, free: 1.449 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-06/0.2397, allocations: 3.938 kB / 1.197 GB, free: 1.445 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2397, allocations: 4 kB / 1.197 GB, free: 1.441 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.2397, allocations: 0 / 1.197 GB, free: 1.441 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.2397, allocations: 0 / 1.197 GB, free: 1.441 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2397, allocations: 4 kB / 1.197 GB, free: 1.438 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.2398, allocations: 117 kB / 1.197 GB, free: 1.305 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-06/0.2398, allocations: 3.953 kB / 1.197 GB, free: 1.301 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.2398, allocations: 4 kB / 1.197 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.542e-05/0.2399, allocations: 0 / 1.197 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.2399, allocations: 15.97 kB / 1.197 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2399, allocations: 4 kB / 1.197 GB, free: 1.277 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.601e-05/0.2399, allocations: 95.2 kB / 1.197 GB, free: 1.184 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2399, allocations: 4 kB / 1.197 GB, free: 1.18 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001579/0.2401, allocations: 28 kB / 1.197 GB, free: 1.152 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,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.0003236/0.2404, allocations: 0.6475 MB / 1.198 GB, free: 488 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.2407, allocations: 286.5 kB / 1.198 GB, free: 164 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2407, allocations: 0 / 1.198 GB, free: 164 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.157e-05/0.2407, allocations: 23.94 kB / 1.198 GB, free: 140 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.2409, allocations: 30.03 kB / 1.198 GB, free: 112 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.2423, allocations: 1.964 MB / 1.2 GB, free: 13.98 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.081e-05/0.2423, allocations: 71.33 kB / 1.2 GB, free: 13.89 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.54e-05/0.2424, allocations: 4 kB / 1.2 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.2424, allocations: 23.42 kB / 1.2 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of SimCode: time 7.81e-07/0.2424, allocations: 3.938 kB / 1.2 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.2609, allocations: 3.652 MB / 1.204 GB, free: 10.38 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.555/6.815, allocations: 11.34 kB / 1.204 GB, free: 10.37 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: 11.19855659455061] Failed to read output from testmodel.py, exit status != 0: 6.892722363583744 6.903351106 6.66495106 Calling exit ...