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.001439/0.001439, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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 1.031/1.031, allocations: 177.1 MB / 199.4 MB, free: 5.957 MB / 186.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.001073/0.001073, allocations: 155.9 kB / 256 MB, free: 13.36 MB / 250.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.2835/0.2835, allocations: 80.25 MB / 392.6 MB, free: 2.457 MB / 314.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.02006/0.02006, allocations: 4.796 MB / 480.6 MB, free: 4.434 MB / 394.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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6452 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.253e-05, allocations: 2.281 kB / 0.6452 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Gate): time 0.002877/0.002899, allocations: 3.701 MB / 0.6488 GB, free: 104 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.005156, allocations: 1.637 MB / 0.6504 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.00542, allocations: 11.94 kB / 0.6504 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008822/0.006302, allocations: 0.7467 MB / 0.6511 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003621/0.006664, allocations: 253.4 kB / 0.6514 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006902/0.007354, allocations: 395.6 kB / 0.6518 GB, free: 101 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006519/0.008006, allocations: 1.085 MB / 0.6528 GB, free: 99.92 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005033/0.008509, allocations: 447.7 kB / 0.6532 GB, free: 99.47 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000466/0.008975, allocations: 0.5651 MB / 0.6538 GB, free: 98.9 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003075/0.009283, allocations: 374.8 kB / 0.6542 GB, free: 98.54 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.142e-05/0.009374, allocations: 88.59 kB / 0.6542 GB, free: 98.45 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.009502, allocations: 97.94 kB / 0.6543 GB, free: 98.36 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.576e-05/0.009587, allocations: 219.1 kB / 0.6545 GB, free: 98.14 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.009747, allocations: 295.2 kB / 0.6548 GB, free: 97.85 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0005913/0.01034, allocations: 0.9228 MB / 0.6557 GB, free: 96.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.01034, allocations: 3.938 kB / 0.6557 GB, free: 96.92 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.774e-06/0.01034, allocations: 0 / 0.6557 GB, free: 96.92 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.812e-05/0.01037, allocations: 2 kB / 0.6557 GB, free: 96.92 MB / 0.5105 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.001801/0.01217, allocations: 1.168 MB / 0.6569 GB, free: 95.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.01222, allocations: 12.03 kB / 0.6569 GB, free: 95.71 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.618e-05/0.01232, allocations: 114.7 kB / 0.657 GB, free: 95.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004698/0.01279, allocations: 164.3 kB / 0.6571 GB, free: 95.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.01322, allocations: 407.2 kB / 0.6575 GB, free: 95.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.01333, allocations: 238.5 kB / 0.6578 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/0.01339, allocations: 68.38 kB / 0.6578 GB, free: 94.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008592/0.01425, allocations: 0.9978 MB / 0.6588 GB, free: 93.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.01426, allocations: 0 / 0.6588 GB, free: 93.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/0.01431, allocations: 28 kB / 0.6588 GB, free: 93.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.01432, allocations: 20 kB / 0.6588 GB, free: 93.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.01548, allocations: 0.9145 MB / 0.6597 GB, free: 92.62 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/0.01795, allocations: 2.381 MB / 0.6621 GB, free: 90.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007098/0.01865, allocations: 0.5582 MB / 0.6626 GB, free: 89.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/0.01902, allocations: 306.7 kB / 0.6629 GB, free: 89.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.01905, allocations: 8.656 kB / 0.6629 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.01908, allocations: 43.22 kB / 0.6629 GB, free: 89.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 1.984e-06/0.01908, allocations: 4 kB / 0.663 GB, free: 89.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.001201/0.02028, allocations: 0.9775 MB / 0.6639 GB, free: 88.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.02032, allocations: 222.3 kB / 0.6641 GB, free: 88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.02064, allocations: 0.5266 MB / 0.6646 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.02068, allocations: 45.62 kB / 0.6647 GB, free: 87.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.02079, allocations: 356.8 kB / 0.665 GB, free: 87.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.14e-05/0.02087, allocations: 273.7 kB / 0.6653 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.02099, allocations: 142.6 kB / 0.6654 GB, free: 86.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.748e-05/0.02105, allocations: 382.8 kB / 0.6658 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.02139, allocations: 265.8 kB / 0.666 GB, free: 86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.02181, allocations: 0.684 MB / 0.6667 GB, free: 85.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007778/0.02259, allocations: 0.811 MB / 0.6675 GB, free: 84.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.02259, allocations: 4 kB / 0.6675 GB, free: 84.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0009298/0.02352, allocations: 0.8912 MB / 0.6684 GB, free: 83.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.02354, allocations: 8 kB / 0.6684 GB, free: 83.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.02355, allocations: 12.06 kB / 0.6684 GB, free: 83.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.02357, allocations: 15.94 kB / 0.6684 GB, free: 83.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/0.02408, allocations: 239.6 kB / 0.6686 GB, free: 83.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.02409, allocations: 11.94 kB / 0.6686 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.02441, allocations: 107.6 kB / 0.6687 GB, free: 82.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.02444, allocations: 43.97 kB / 0.6688 GB, free: 82.92 MB / 0.5105 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.0001597/0.0246, allocations: 202.2 kB / 0.669 GB, free: 82.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.02466, allocations: 83.42 kB / 0.6691 GB, free: 82.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009587/0.02562, allocations: 0.8178 MB / 0.6699 GB, free: 81.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.02562, allocations: 11.94 kB / 0.6699 GB, free: 81.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.02563, allocations: 4 kB / 0.6699 GB, free: 81.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.02563, allocations: 3.984 kB / 0.6699 GB, free: 81.78 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.02709, allocations: 1.518 MB / 0.6714 GB, free: 80.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.0271, allocations: 0 / 0.6714 GB, free: 80.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/0.02754, allocations: 203.8 kB / 0.6716 GB, free: 80 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.02754, allocations: 8 kB / 0.6716 GB, free: 79.99 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.02757, allocations: 19.98 kB / 0.6716 GB, free: 79.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.02757, allocations: 7.984 kB / 0.6716 GB, free: 79.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.02757, allocations: 7.984 kB / 0.6716 GB, free: 79.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008212/0.02839, allocations: 0.8816 MB / 0.6725 GB, free: 79.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.02845, allocations: 83.33 kB / 0.6725 GB, free: 78.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.02851, allocations: 23.89 kB / 0.6726 GB, free: 78.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.02876, allocations: 35.97 kB / 0.6726 GB, free: 78.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/0.02884, allocations: 64.53 kB / 0.6727 GB, free: 78.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.02886, allocations: 23.94 kB / 0.6727 GB, free: 78.81 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002179/0.02908, allocations: 379.1 kB / 0.673 GB, free: 78.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.02908, allocations: 0 / 0.673 GB, free: 78.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000373/0.02945, allocations: 195.8 kB / 0.6732 GB, free: 78.25 MB / 0.5105 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.0009611/0.03042, allocations: 1.438 MB / 0.6746 GB, free: 76.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008554/0.03127, allocations: 0.7056 MB / 0.6753 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.03127, allocations: 0 / 0.6753 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00057/0.03184, allocations: 363.5 kB / 0.6757 GB, free: 75.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.03233, allocations: 135 kB / 0.6758 GB, free: 75.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005065/0.0374, allocations: 6.17 MB / 0.6818 GB, free: 69.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.03755, allocations: 333.8 kB / 0.6821 GB, free: 68.74 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002753/0.03782, allocations: 93.33 kB / 0.6822 GB, free: 68.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.03809, allocations: 280.4 kB / 0.6825 GB, free: 68.38 MB / 0.5105 GB Notification: Performance of SimCode: time 1.332e-06/0.0381, allocations: 4 kB / 0.6825 GB, free: 68.37 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09332/0.1314, allocations: 17.62 MB / 0.6997 GB, free: 51.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/7.597, allocations: 7.234 kB / 0.6997 GB, free: 51.05 MB / 0.5105 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: 11.028021830134094]