Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.Gate.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.00123/0.00123, 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/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.9756/0.9756, allocations: 230.6 MB / 252.7 MB, free: 9.84 MB / 202.7 MB " [Timeout remaining time 179] 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.00117/0.00117, allocations: 223 kB / 309.2 MB, free: 1.957 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.4003/0.4003, allocations: 107.2 MB / 472.8 MB, free: 9.891 MB / 330.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo): time 0.02963/0.02963, allocations: 6.292 MB / 0.5492 GB, free: 1.289 MB / 410.7 MB " [Timeout remaining time 180] Using package OpenHPL with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo) Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenHPL.Examples.Gate,fileNamePrefix="OpenHPL_OpenHPL_Examples_Gate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHPL.Examples.Gate,fileNamePrefix="OpenHPL_OpenHPL_Examples_Gate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL 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: OpenHPL requested package OpenIPSL of version 3.0.0. OpenIPSL 3.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHPL 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.00221/0.00221, allocations: 130 kB / 0.7249 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.341, allocations: 81.64 MB / 0.8047 GB, free: 33.1 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Gate): time 0.002848/0.3438, allocations: 3.706 MB / 0.8083 GB, free: 30.59 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.3454, allocations: 1.622 MB / 0.8099 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.3455, allocations: 7.094 kB / 0.8099 GB, free: 29.49 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007694/0.3463, allocations: 0.7213 MB / 0.8106 GB, free: 29.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.3465, allocations: 237.8 kB / 0.8108 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.347, allocations: 398.3 kB / 0.8112 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005206/0.3475, allocations: 1.042 MB / 0.8122 GB, free: 28.17 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004014/0.3479, allocations: 449.7 kB / 0.8126 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.3482, allocations: 412 kB / 0.813 GB, free: 27.74 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.3485, allocations: 436.9 kB / 0.8134 GB, free: 27.56 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.174e-05/0.3486, allocations: 87.38 kB / 0.8135 GB, free: 27.56 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.3487, allocations: 97.62 kB / 0.8136 GB, free: 27.56 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.14e-05/0.3488, allocations: 216.6 kB / 0.8138 GB, free: 27.42 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.349, allocations: 367.3 kB / 0.8142 GB, free: 27.21 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006573/0.3496, allocations: 0.8813 MB / 0.815 GB, free: 26.81 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3496, allocations: 0 / 0.815 GB, free: 26.81 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3496, allocations: 0 / 0.815 GB, free: 26.81 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.3496, allocations: 0 / 0.815 GB, free: 26.81 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 172 * Number of variables: 172 Notification: Performance of Generate backend data structure: time 0.001489/0.3511, allocations: 1.171 MB / 0.8162 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3512, allocations: 9.156 kB / 0.8162 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.3513, allocations: 115.9 kB / 0.8163 GB, free: 26.03 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000399/0.3517, allocations: 165.9 kB / 0.8164 GB, free: 25.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.3521, allocations: 401 kB / 0.8168 GB, free: 25.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.3522, allocations: 247.3 kB / 0.8171 GB, free: 25.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-05/0.3523, allocations: 62.22 kB / 0.8171 GB, free: 25.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009534/0.3532, allocations: 0.9954 MB / 0.8181 GB, free: 24.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3532, allocations: 3.938 kB / 0.8181 GB, free: 24.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.3533, allocations: 34.34 kB / 0.8181 GB, free: 24.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.3533, allocations: 17.94 kB / 0.8181 GB, free: 24.79 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.3546, allocations: 0.9146 MB / 0.819 GB, free: 24.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/0.3572, allocations: 2.388 MB / 0.8214 GB, free: 23.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007353/0.3579, allocations: 0.5533 MB / 0.8219 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004065/0.3583, allocations: 308.6 kB / 0.8222 GB, free: 22.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.3583, allocations: 6.844 kB / 0.8222 GB, free: 22.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.3584, allocations: 54.28 kB / 0.8223 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 2.064e-06/0.3584, allocations: 0 / 0.8223 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.001311/0.3597, allocations: 0.9759 MB / 0.8232 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.3597, allocations: 216.2 kB / 0.8234 GB, free: 22.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/0.3601, allocations: 0.5266 MB / 0.8239 GB, free: 21.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.3601, allocations: 47.73 kB / 0.824 GB, free: 21.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.3603, allocations: 355.5 kB / 0.8243 GB, free: 21.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.3604, allocations: 281.6 kB / 0.8246 GB, free: 21.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.3605, allocations: 148.2 kB / 0.8247 GB, free: 21.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.3606, allocations: 377.5 kB / 0.8251 GB, free: 20.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.361, allocations: 277.1 kB / 0.8254 GB, free: 20.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/0.3615, allocations: 0.678 MB / 0.826 GB, free: 20.13 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008382/0.3623, allocations: 0.805 MB / 0.8268 GB, free: 19.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3623, allocations: 2.938 kB / 0.8268 GB, free: 19.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001061/0.3634, allocations: 0.8941 MB / 0.8277 GB, free: 19.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3634, allocations: 14.03 kB / 0.8277 GB, free: 19.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3634, allocations: 9.438 kB / 0.8277 GB, free: 19.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3634, allocations: 9.625 kB / 0.8277 GB, free: 19.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/0.3639, allocations: 235.6 kB / 0.8279 GB, free: 19.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.364, allocations: 17.34 kB / 0.828 GB, free: 19.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.3642, allocations: 107.2 kB / 0.8281 GB, free: 19.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.3643, allocations: 44.56 kB / 0.8281 GB, free: 19.14 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * 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 0.000151/0.3644, allocations: 204.8 kB / 0.8283 GB, free: 18.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.3645, allocations: 78.12 kB / 0.8284 GB, free: 18.92 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.3655, allocations: 0.8274 MB / 0.8292 GB, free: 18.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3655, allocations: 7.922 kB / 0.8292 GB, free: 18.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3655, allocations: 1.25 kB / 0.8292 GB, free: 18.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3655, allocations: 4.734 kB / 0.8292 GB, free: 18.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.3671, allocations: 1.528 MB / 0.8307 GB, free: 17.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3671, allocations: 1.219 kB / 0.8307 GB, free: 17.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004853/0.3675, allocations: 193.8 kB / 0.8309 GB, free: 17.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.3675, allocations: 5.484 kB / 0.8309 GB, free: 17.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.3676, allocations: 19.73 kB / 0.8309 GB, free: 17.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.3676, allocations: 4.516 kB / 0.8309 GB, free: 17.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3676, allocations: 2.312 kB / 0.8309 GB, free: 17.72 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009244/0.3685, allocations: 0.8916 MB / 0.8318 GB, free: 17.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.393e-05/0.3686, allocations: 84.83 kB / 0.8319 GB, free: 17.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.3686, allocations: 14.92 kB / 0.8319 GB, free: 17.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.3689, allocations: 39.48 kB / 0.8319 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.369, allocations: 66.58 kB / 0.832 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.369, allocations: 25.3 kB / 0.832 GB, free: 17.15 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000263/0.3693, allocations: 377 kB / 0.8324 GB, free: 16.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.3693, allocations: 4 kB / 0.8324 GB, free: 16.97 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003783/0.3696, allocations: 199.4 kB / 0.8325 GB, free: 16.93 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001044/0.3707, allocations: 1.448 MB / 0.834 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009225/0.3716, allocations: 0.6965 MB / 0.8346 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3716, allocations: 1.469 kB / 0.8346 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004624/0.3721, allocations: 361.2 kB / 0.835 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.3725, allocations: 127.5 kB / 0.8351 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005463/0.378, allocations: 6.221 MB / 0.8412 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.3782, allocations: 332 kB / 0.8415 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002836/0.3785, allocations: 98.75 kB / 0.8416 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.3788, allocations: 273 kB / 0.8419 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of SimCode: time 7.31e-07/0.3788, allocations: 1.25 kB / 0.8419 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/0.4791, allocations: 17.6 MB / 0.859 GB, free: 268 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/7.921, allocations: 6.531 kB / 0.8591 GB, free: 264 kB / 0.5261 GB " [Timeout remaining time 652] (rm -f OpenHPL_OpenHPL.Examples.Gate.pipe ; mkfifo OpenHPL_OpenHPL.Examples.Gate.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.Gate.pipe >> ../files/OpenHPL_OpenHPL.Examples.Gate.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHPL_OpenHPL_Examples_Gate_fmu --startTime=0 --stopTime=2000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ../OpenHPL_OpenHPL_Examples_Gate.fmu) > OpenHPL_OpenHPL.Examples.Gate.pipe 2>&1) [Timeout 52.5] (rm -f OpenHPL_OpenHPL.Examples.Gate_fmpy.pipe ; mkfifo OpenHPL_OpenHPL.Examples.Gate_fmpy.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.Gate_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHPL_OpenHPL.Examples.Gate_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHPL_OpenHPL.Examples.Gate_fmpy_res.csv --start-time 0 --stop-time 2000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ../OpenHPL_OpenHPL_Examples_Gate.fmu) > OpenHPL_OpenHPL.Examples.Gate_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.903382425196469]