Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.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.0008503/0.0008503, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001043/0.001043, allocations: 221.7 kB / 22.26 MB, free: 3.688 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.971/0.971, allocations: 230.6 MB / 256 MB, free: 9.805 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.04643/0.04643, allocations: 12.18 MB / 324.6 MB, free: 6.258 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.0004528/0.0004528, allocations: 27.91 kB / 384.1 MB, free: 10.68 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.652/1.652, allocations: 353.8 MB / 0.7787 GB, free: 3.184 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.Nor,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Nor",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.001386/0.001386, allocations: 119.4 kB / 1.06 GB, free: 25.02 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2283, allocations: 134.9 MB / 1.192 GB, free: 7.922 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001469/0.2298, allocations: 0.6449 MB / 1.192 GB, free: 7.277 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.231, allocations: 1.242 MB / 1.194 GB, free: 6.023 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.599e-05/0.231, allocations: 4 kB / 1.194 GB, free: 6.02 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.2311, allocations: 7.938 kB / 1.194 GB, free: 6.012 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/0.2311, allocations: 11.92 kB / 1.194 GB, free: 6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.2317, allocations: 214.5 kB / 1.194 GB, free: 5.797 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.2319, allocations: 179.6 kB / 1.194 GB, free: 5.621 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.499e-05/0.232, allocations: 8 kB / 1.194 GB, free: 5.613 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.662e-05/0.2321, allocations: 67.94 kB / 1.194 GB, free: 5.547 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.2322, allocations: 63.8 kB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.2322, allocations: 16 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.395e-05/0.2323, allocations: 27.98 kB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.2323, allocations: 11.98 kB / 1.194 GB, free: 5.43 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.752e-05/0.2324, allocations: 55.84 kB / 1.194 GB, free: 5.375 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.2326, allocations: 147.9 kB / 1.194 GB, free: 5.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2326, allocations: 0 / 1.194 GB, free: 5.23 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2326, allocations: 0 / 1.194 GB, free: 5.23 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.2326, allocations: 0 / 1.194 GB, free: 5.23 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.0004525/0.233, allocations: 369.5 kB / 1.195 GB, free: 4.824 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2331, allocations: 12.03 kB / 1.195 GB, free: 4.812 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.794e-05/0.2331, allocations: 38.69 kB / 1.195 GB, free: 4.766 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.2332, allocations: 16.88 kB / 1.195 GB, free: 4.75 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.424e-05/0.2332, allocations: 106.5 kB / 1.195 GB, free: 4.621 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.2333, allocations: 16.31 kB / 1.195 GB, free: 4.605 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.2333, allocations: 8.375 kB / 1.195 GB, free: 4.598 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.164e-05/0.2334, allocations: 46.23 kB / 1.195 GB, free: 4.547 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2334, allocations: 3.938 kB / 1.195 GB, free: 4.543 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.2334, allocations: 0 / 1.195 GB, free: 4.543 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2334, allocations: 7.984 kB / 1.195 GB, free: 4.535 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.2334, allocations: 23.94 kB / 1.195 GB, free: 4.512 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.2338, allocations: 315.8 kB / 1.195 GB, free: 4.16 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.206e-05/0.2339, allocations: 34.56 kB / 1.195 GB, free: 4.117 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.131e-05/0.2339, allocations: 12.86 kB / 1.195 GB, free: 4.102 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.2339, allocations: 0 / 1.195 GB, free: 4.102 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.234, allocations: 87.39 kB / 1.195 GB, free: 4.004 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.234, allocations: 0 / 1.195 GB, free: 4.004 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0001961/0.2342, allocations: 101.6 kB / 1.196 GB, free: 3.898 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.2343, allocations: 59.41 kB / 1.196 GB, free: 3.828 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.607e-05/0.2343, allocations: 121.7 kB / 1.196 GB, free: 3.699 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.2343, allocations: 29.7 kB / 1.196 GB, free: 3.664 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.2344, allocations: 88.14 kB / 1.196 GB, free: 3.574 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.2344, allocations: 19.88 kB / 1.196 GB, free: 3.555 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/0.2345, allocations: 57.69 kB / 1.196 GB, free: 3.492 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.435e-05/0.2345, allocations: 318.7 kB / 1.196 GB, free: 3.172 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.312e-05/0.2346, allocations: 63.95 kB / 1.196 GB, free: 3.109 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.2347, allocations: 84.27 kB / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.2349, allocations: 168.1 kB / 1.196 GB, free: 2.82 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2349, allocations: 0 / 1.196 GB, free: 2.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002845/0.2352, allocations: 268.8 kB / 1.197 GB, free: 2.539 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.356e-05/0.2352, allocations: 67.39 kB / 1.197 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2352, allocations: 0 / 1.197 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.2352, allocations: 4.062 kB / 1.197 GB, free: 2.457 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.828e-05/0.2352, allocations: 8.125 kB / 1.197 GB, free: 2.449 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.2353, allocations: 12.19 kB / 1.197 GB, free: 2.438 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.2355, allocations: 47.94 kB / 1.197 GB, free: 2.391 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.2355, allocations: 11.98 kB / 1.197 GB, free: 2.379 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,nor1.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.881e-05/0.2356, allocations: 125.8 kB / 1.197 GB, free: 2.246 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.2356, allocations: 7.953 kB / 1.197 GB, free: 2.238 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.2356, allocations: 8.375 kB / 1.197 GB, free: 2.227 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2356, allocations: 7.984 kB / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2356, allocations: 0 / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2356, allocations: 0 / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.2357, allocations: 152.6 kB / 1.197 GB, free: 2.027 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2357, allocations: 0 / 1.197 GB, free: 2.027 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-06/0.2357, allocations: 0 / 1.197 GB, free: 2.027 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2357, allocations: 0 / 1.197 GB, free: 2.027 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.2357, allocations: 7.984 kB / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.2357, allocations: 0 / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2357, allocations: 4 kB / 1.197 GB, free: 2.016 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.2358, allocations: 124.9 kB / 1.197 GB, free: 1.875 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.2358, allocations: 3.953 kB / 1.197 GB, free: 1.871 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.2358, allocations: 0 / 1.197 GB, free: 1.871 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.183e-05/0.2358, allocations: 4 kB / 1.197 GB, free: 1.867 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.2359, allocations: 7.984 kB / 1.197 GB, free: 1.859 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.2359, allocations: 4 kB / 1.197 GB, free: 1.855 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.472e-05/0.2359, allocations: 91.27 kB / 1.197 GB, free: 1.766 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2359, allocations: 4.281 kB / 1.197 GB, free: 1.762 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001582/0.2361, allocations: 28 kB / 1.197 GB, free: 1.734 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,nor1.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.0002884/0.2364, allocations: 0.6475 MB / 1.198 GB, free: 1.059 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.2366, allocations: 214.9 kB / 1.198 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.2366, allocations: 4.062 kB / 1.198 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.178e-05/0.2366, allocations: 23.97 kB / 1.198 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.2368, allocations: 17.67 kB / 1.198 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.2381, allocations: 1.72 MB / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.2383, allocations: 0.6898 MB / 1.201 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.238e-05/0.2383, allocations: 7.938 kB / 1.201 GB, free: 14.22 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.2383, allocations: 19.42 kB / 1.201 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of SimCode: time 5.61e-07/0.2383, allocations: 4 kB / 1.201 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.2547, allocations: 3.033 MB / 1.204 GB, free: 11.32 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.869/7.123, allocations: 13.5 kB / 1.204 GB, free: 11.31 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Nor.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.540987704880536] Failed to read output from testmodel.py, exit status != 0: 7.2006107699126005 7.209715502 6.975426966 Calling exit ...