Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.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.001177/0.001177, 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.001046/0.001046, allocations: 213.8 kB / 22.25 MB, free: 3.711 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.9435/0.9435, 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.03678/0.03678, allocations: 12.17 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.0004857/0.0004857, allocations: 31.47 kB / 384.1 MB, free: 10.7 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.726/1.726, allocations: 353.8 MB / 0.7787 GB, free: 3.152 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.Latch,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Latch",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.002016/0.002016, allocations: 125.1 kB / 1.06 GB, free: 24.93 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2341, allocations: 134.9 MB / 1.192 GB, free: 7.871 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001537/0.2357, allocations: 0.7483 MB / 1.193 GB, free: 7.125 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.2368, allocations: 1.308 MB / 1.194 GB, free: 5.805 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.2369, allocations: 4 kB / 1.194 GB, free: 5.801 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.01e-05/0.2369, allocations: 7.875 kB / 1.194 GB, free: 5.793 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.994e-05/0.237, allocations: 19.8 kB / 1.194 GB, free: 5.773 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.2376, allocations: 250.5 kB / 1.194 GB, free: 5.535 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.2378, allocations: 259.6 kB / 1.194 GB, free: 5.281 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.2379, allocations: 41.03 kB / 1.194 GB, free: 5.238 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.238, allocations: 107.7 kB / 1.194 GB, free: 5.133 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.2382, allocations: 107.6 kB / 1.195 GB, free: 5.027 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.2382, allocations: 28 kB / 1.195 GB, free: 5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.543e-05/0.2383, allocations: 35.98 kB / 1.195 GB, free: 4.965 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.258e-05/0.2383, allocations: 35.89 kB / 1.195 GB, free: 4.93 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.2384, allocations: 95.69 kB / 1.195 GB, free: 4.836 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.2386, allocations: 247.5 kB / 1.195 GB, free: 4.594 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2386, allocations: 0 / 1.195 GB, free: 4.594 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2386, allocations: 3.938 kB / 1.195 GB, free: 4.59 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2386, allocations: 4 kB / 1.195 GB, free: 4.586 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004939/0.2391, allocations: 430.2 kB / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.2392, allocations: 8.031 kB / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.272e-05/0.2392, allocations: 46.73 kB / 1.195 GB, free: 4.059 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.2393, allocations: 20.84 kB / 1.195 GB, free: 4.039 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.2396, allocations: 170.6 kB / 1.196 GB, free: 3.848 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.2396, allocations: 16.31 kB / 1.196 GB, free: 3.832 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.2396, allocations: 28.36 kB / 1.196 GB, free: 3.805 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.2398, allocations: 131 kB / 1.196 GB, free: 3.672 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.2398, allocations: 4 kB / 1.196 GB, free: 3.668 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.2398, allocations: 7.984 kB / 1.196 GB, free: 3.66 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.2398, allocations: 7.938 kB / 1.196 GB, free: 3.652 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.46e-05/0.2399, allocations: 59.97 kB / 1.196 GB, free: 3.594 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.2404, allocations: 423.4 kB / 1.196 GB, free: 3.137 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.2405, allocations: 90.47 kB / 1.196 GB, free: 3.039 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.803e-05/0.2405, allocations: 32.84 kB / 1.196 GB, free: 3.004 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.2405, allocations: 7.938 kB / 1.196 GB, free: 2.996 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.2407, allocations: 127.3 kB / 1.197 GB, free: 2.859 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 9.52e-07/0.2407, allocations: 4 kB / 1.197 GB, free: 2.855 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0003103/0.241, allocations: 239.2 kB / 1.197 GB, free: 2.617 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.2411, allocations: 59.41 kB / 1.197 GB, free: 2.547 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.983e-05/0.2412, allocations: 147.6 kB / 1.197 GB, free: 2.395 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.2412, allocations: 33.7 kB / 1.197 GB, free: 2.355 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.2412, allocations: 120.6 kB / 1.197 GB, free: 2.234 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.2413, allocations: 27.8 kB / 1.197 GB, free: 2.207 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.2413, allocations: 69.67 kB / 1.197 GB, free: 2.133 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.2414, allocations: 326.8 kB / 1.197 GB, free: 1.805 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.003e-05/0.2415, allocations: 67.95 kB / 1.198 GB, free: 1.738 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.2416, allocations: 124.7 kB / 1.198 GB, free: 1.59 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.2418, allocations: 211 kB / 1.198 GB, free: 1.344 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2418, allocations: 4 kB / 1.198 GB, free: 1.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002874/0.2421, allocations: 318.5 kB / 1.198 GB, free: 1.012 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.2422, allocations: 67.33 kB / 1.198 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2422, allocations: 4 kB / 1.198 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2422, allocations: 4 kB / 1.198 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.65e-05/0.2422, allocations: 8 kB / 1.198 GB, free: 0.918 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2422, allocations: 4 kB / 1.198 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.2424, allocations: 60.08 kB / 1.198 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.2424, allocations: 23.92 kB / 1.198 GB, free: 0.832 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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.338e-05/0.2425, allocations: 132 kB / 1.198 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.2425, allocations: 23.83 kB / 1.199 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.2425, allocations: 8.781 kB / 1.199 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2425, allocations: 11.94 kB / 1.199 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2425, allocations: 0 / 1.199 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2425, allocations: 0 / 1.199 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.2428, allocations: 461.4 kB / 1.199 GB, free: 156 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.2428, allocations: 0 / 1.199 GB, free: 156 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-06/0.2428, allocations: 4 kB / 1.199 GB, free: 152 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.2428, allocations: 0 / 1.199 GB, free: 152 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2429, allocations: 7.984 kB / 1.199 GB, free: 144 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2429, allocations: 0 / 1.199 GB, free: 144 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2429, allocations: 0 / 1.199 GB, free: 144 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.243, allocations: 300.8 kB / 1.199 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-06/0.2431, allocations: 11.91 kB / 1.199 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.2431, allocations: 11.98 kB / 1.199 GB, free: 15.81 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.348e-05/0.2431, allocations: 0 / 1.199 GB, free: 15.81 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.2431, allocations: 11.97 kB / 1.199 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.2432, allocations: 12 kB / 1.199 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.523e-05/0.2432, allocations: 95.27 kB / 1.199 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2432, allocations: 4 kB / 1.199 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001882/0.2434, allocations: 51.92 kB / 1.199 GB, free: 15.64 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: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0004152/0.2438, allocations: 0.8307 MB / 1.2 GB, free: 14.78 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.244, allocations: 266.9 kB / 1.201 GB, free: 14.5 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.2441, allocations: 0 / 1.201 GB, free: 14.5 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 5.723e-05/0.2441, allocations: 59.89 kB / 1.201 GB, free: 14.44 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.2443, allocations: 27.97 kB / 1.201 GB, free: 14.41 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.2459, allocations: 2.053 MB / 1.203 GB, free: 12.22 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.2461, allocations: 0.7046 MB / 1.203 GB, free: 11.49 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.2462, allocations: 17.08 kB / 1.203 GB, free: 11.47 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.2462, allocations: 35.42 kB / 1.203 GB, free: 11.44 MB / 0.8387 GB Notification: Performance of SimCode: time 5.81e-07/0.2462, allocations: 0 / 1.203 GB, free: 11.44 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.2628, allocations: 3.809 MB / 1.207 GB, free: 7.766 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.629/6.892, allocations: 13.92 kB / 1.207 GB, free: 7.754 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Latch.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.419359344989061] Failed to read output from testmodel.py, exit status != 0: 6.97183701954782 6.986479785 6.745795345 Calling exit ...