Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.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.00105/0.00105, 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.0009418/0.0009418, allocations: 211.5 kB / 22.24 MB, free: 3.594 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.9868/0.9868, 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.03907/0.03907, allocations: 12.18 MB / 324.6 MB, free: 6.078 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.0004343/0.0004343, allocations: 15.98 kB / 384.1 MB, free: 10.5 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.7/1.7, allocations: 353.8 MB / 0.7787 GB, free: 4.5 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.Or,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Or",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.001611/0.001611, allocations: 118.3 kB / 1.06 GB, free: 24.69 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2246, allocations: 134.9 MB / 1.192 GB, free: 7.445 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Or): time 0.001421/0.2261, allocations: 0.6346 MB / 1.192 GB, free: 6.812 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.2273, allocations: 1.227 MB / 1.194 GB, free: 5.574 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.2274, allocations: 8 kB / 1.194 GB, free: 5.566 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.2274, allocations: 3.938 kB / 1.194 GB, free: 5.562 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.2275, allocations: 7.922 kB / 1.194 GB, free: 5.555 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.228, allocations: 220.9 kB / 1.194 GB, free: 5.344 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.2282, allocations: 163.7 kB / 1.194 GB, free: 5.184 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.389e-05/0.2282, allocations: 11.97 kB / 1.194 GB, free: 5.172 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.53e-05/0.2283, allocations: 71.89 kB / 1.194 GB, free: 5.102 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.2284, allocations: 55.84 kB / 1.194 GB, free: 5.047 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.2285, allocations: 16 kB / 1.194 GB, free: 5.031 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.853e-05/0.2285, allocations: 20 kB / 1.194 GB, free: 5.012 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.2285, allocations: 15.92 kB / 1.194 GB, free: 4.996 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.942e-05/0.2286, allocations: 47.89 kB / 1.194 GB, free: 4.949 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.2288, allocations: 151.9 kB / 1.194 GB, free: 4.801 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2288, allocations: 3.938 kB / 1.194 GB, free: 4.797 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2288, allocations: 3.938 kB / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2288, allocations: 4 kB / 1.194 GB, free: 4.789 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.0004007/0.2292, allocations: 365.5 kB / 1.195 GB, free: 4.387 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.2292, allocations: 8.031 kB / 1.195 GB, free: 4.379 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.627e-05/0.2293, allocations: 38.75 kB / 1.195 GB, free: 4.332 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.2293, allocations: 8.891 kB / 1.195 GB, free: 4.324 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.978e-05/0.2294, allocations: 110.5 kB / 1.195 GB, free: 4.191 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.2294, allocations: 12.36 kB / 1.195 GB, free: 4.18 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.2294, allocations: 8.375 kB / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.554e-05/0.2295, allocations: 46.25 kB / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2295, allocations: 3.938 kB / 1.195 GB, free: 4.117 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.2295, allocations: 0 / 1.195 GB, free: 4.117 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2295, allocations: 4 kB / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.333e-05/0.2295, allocations: 23.92 kB / 1.195 GB, free: 4.09 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.2299, allocations: 287.9 kB / 1.195 GB, free: 3.766 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.094e-05/0.23, allocations: 30.56 kB / 1.195 GB, free: 3.727 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.23, allocations: 16.86 kB / 1.195 GB, free: 3.707 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.23, allocations: 0 / 1.195 GB, free: 3.707 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.2301, allocations: 83.34 kB / 1.195 GB, free: 3.613 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.2301, allocations: 0 / 1.195 GB, free: 3.613 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0001934/0.2303, allocations: 109.6 kB / 1.195 GB, free: 3.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.2304, allocations: 55.41 kB / 1.195 GB, free: 3.434 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.326e-05/0.2304, allocations: 129.7 kB / 1.196 GB, free: 3.297 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.2304, allocations: 33.7 kB / 1.196 GB, free: 3.258 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.2305, allocations: 88.14 kB / 1.196 GB, free: 3.168 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.2305, allocations: 15.89 kB / 1.196 GB, free: 3.152 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.2306, allocations: 45.69 kB / 1.196 GB, free: 3.102 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.2306, allocations: 322.8 kB / 1.196 GB, free: 2.777 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.2308, allocations: 119.4 kB / 1.196 GB, free: 2.648 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.2309, allocations: 153.2 kB / 1.196 GB, free: 2.473 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.231, allocations: 163.6 kB / 1.196 GB, free: 2.285 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.231, allocations: 4 kB / 1.196 GB, free: 2.281 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002784/0.2313, allocations: 320.2 kB / 1.197 GB, free: 1.938 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.2313, allocations: 71.8 kB / 1.197 GB, free: 1.855 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2313, allocations: 4.062 kB / 1.197 GB, free: 1.852 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2313, allocations: 4 kB / 1.197 GB, free: 1.848 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.873e-05/0.2313, allocations: 11.92 kB / 1.197 GB, free: 1.836 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.2314, allocations: 0 / 1.197 GB, free: 1.836 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.2315, allocations: 60 kB / 1.197 GB, free: 1.777 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.2316, allocations: 11.98 kB / 1.197 GB, free: 1.766 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,or1.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.744e-05/0.2316, allocations: 125.8 kB / 1.197 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-06/0.2317, allocations: 7.938 kB / 1.197 GB, free: 1.625 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.2317, allocations: 12.38 kB / 1.197 GB, free: 1.609 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2317, allocations: 0 / 1.197 GB, free: 1.609 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2317, allocations: 0 / 1.197 GB, free: 1.609 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2317, allocations: 4 kB / 1.197 GB, free: 1.605 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.284e-05/0.2318, allocations: 152.6 kB / 1.197 GB, free: 1.414 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.2318, allocations: 0 / 1.197 GB, free: 1.414 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-06/0.2318, allocations: 4 kB / 1.197 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.2318, allocations: 3.938 kB / 1.197 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.2318, allocations: 0 / 1.197 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.2318, allocations: 0 / 1.197 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2318, allocations: 0 / 1.197 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.391e-05/0.2319, allocations: 113 kB / 1.197 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-06/0.2319, allocations: 11.94 kB / 1.197 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.2319, allocations: 0 / 1.197 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/0.2319, allocations: 12 kB / 1.197 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.2319, allocations: 3.984 kB / 1.197 GB, free: 1.25 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.2319, allocations: 4 kB / 1.197 GB, free: 1.246 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.034e-05/0.232, allocations: 87.28 kB / 1.197 GB, free: 1.16 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.232, allocations: 0 / 1.197 GB, free: 1.16 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001571/0.2321, allocations: 35.98 kB / 1.197 GB, free: 1.125 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,or1.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.0002804/0.2324, allocations: 0.6436 MB / 1.198 GB, free: 464 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.2327, allocations: 278.7 kB / 1.198 GB, free: 148 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.2327, allocations: 4.062 kB / 1.198 GB, free: 144 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.2327, allocations: 23.94 kB / 1.198 GB, free: 120 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.2328, allocations: 22.45 kB / 1.198 GB, free: 100 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.2343, allocations: 1.968 MB / 1.2 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.9e-05/0.2343, allocations: 71.33 kB / 1.2 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.241e-05/0.2344, allocations: 8 kB / 1.2 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.2344, allocations: 23.42 kB / 1.2 GB, free: 13.84 MB / 0.8387 GB Notification: Performance of SimCode: time 7.62e-07/0.2344, allocations: 0 / 1.2 GB, free: 13.84 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01491/0.2493, allocations: 3.646 MB / 1.204 GB, free: 10.37 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.544/6.793, allocations: 0 / 1.204 GB, free: 10.37 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Or.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.232983847148716] Failed to read output from testmodel.py, exit status != 0: 6.874538378790021 6.883037877 6.652593859 Calling exit ...